Skip to content

Commit e54b1a4

Browse files
committed
fix new test failure after rebase
1 parent c965a63 commit e54b1a4

File tree

1 file changed

+4
-2
lines changed
  • crates/ty_python_semantic/resources/mdtest/subscript

1 file changed

+4
-2
lines changed

crates/ty_python_semantic/resources/mdtest/subscript/tuple.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ def test3(val: tuple[str] | tuple[int] | int):
212212
```py
213213
from ty_extensions import Intersection, Not
214214

215-
def test4(val: Intersection[tuple[str], tuple[int]]):
216-
reveal_type(val[0]) # revealed: str & int
215+
class Foo: ...
216+
217+
def test4(val: Intersection[tuple[str], tuple[Foo]]):
218+
reveal_type(val[0]) # revealed: str & Foo
217219
```

0 commit comments

Comments
 (0)