We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c817d8 commit e9e278fCopy full SHA for e9e278f
crates/ty_python_semantic/resources/mdtest/assignment/annotations.md
@@ -421,6 +421,7 @@ c: list[int | str] = f("a")
421
reveal_type(c) # revealed: list[str | int]
422
423
d: list[int | tuple[int, int]] = f((1, 2))
424
+# TODO: We could avoid reordering the union elements here.
425
reveal_type(d) # revealed: list[tuple[int, int] | int]
426
427
e: list[int] = f(True)
0 commit comments