Closed
Description
Here's an example:
class TestTuple:
@staticmethod
def test(a: str) -> (bool, str):
return len(a) < 2, a[:2]
And here's the output (I'd expect it to say Line #3):
test_invalid_tuple.py:2: error: Invalid tuple literal type