reveal_type
should print out nice formatted types
#6526
Labels
reveal_type
should print out nice formatted types
#6526
Extracted from #6460
Say you have
mypy outputs
As you can see (and probably know) it shows two different representations for the inferred type. For user ergonomics the revealed type should be 'Optional[Tuple[int, str]]' as well, no?
The maybe too naive but works for me change is
But then you get 1.000.000 failures which is expected because the tests rely on the verbose output.
E.g.
This makes it a non-trivial change.
The text was updated successfully, but these errors were encountered: