<string>:9: error: Argument 2 to "foobar" has incompatible type "*Tuple[str, int]"; expected "str"
<string>:9: error: Argument 2 to "foobar" has incompatible type "*Tuple[str, int]"; expected "int"
This error goes away if I:
make foo an int instead of Tuple[int], and remove the splat when foobar() is called.
make bar two ints and make foobar() take three int arguments.
make foo a Tuple[str, int] and make foobar() take str, int, str, int arguments.
make bar just a Tuple[str] and make foobar() take int, str arguments.
Your Environment
This occurs with the standard version of mypy in Debian Testing:
Activity