Skip to content

Commit e9e278f

Browse files
committed
add todo
1 parent 5c817d8 commit e9e278f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ty_python_semantic/resources/mdtest/assignment/annotations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ c: list[int | str] = f("a")
421421
reveal_type(c) # revealed: list[str | int]
422422

423423
d: list[int | tuple[int, int]] = f((1, 2))
424+
# TODO: We could avoid reordering the union elements here.
424425
reveal_type(d) # revealed: list[tuple[int, int] | int]
425426

426427
e: list[int] = f(True)

0 commit comments

Comments
 (0)