basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

Unionize at joins instead of common ancestor

Open KotlinIsland opened this issue 3 years ago • 0 comments

current:

b: bool
reveal_type("" if b else 1)  # object

proposed:

b: bool
reveal_type("" if b else 1)  # str | int

KotlinIsland avatar May 03 '22 02:05 KotlinIsland