Daniel Sanders 4ed97c153b
[lldb] Add type hints for gdbclientutils.py when base class returns Literal[T] (#170182)
Pyright automatically deduces these functions to return `Literal["foo"]`
since the implementation returns "foo". This causes any overload that
returns a different literal or a string to report that they're
overloaded in an incompatible way. By correctly annotating them as
returning str, the overloads can return different strings without this
error

I was encountering these a lot while writing tests for my downstream
target
2025-12-01 14:23:04 -08:00
..