Skip to content

Commit 4149882

Browse files
committed
test
1 parent c120f88 commit 4149882

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test-data/unit/check-inference.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3929,7 +3929,9 @@ class A(Generic[T, U]):
39293929
def join(a: T, b: T) -> T: ...
39303930

39313931
reveal_type(join(intlike(), comparable)) # N: Revealed type is "__main__._SupportsCompare"
3932+
reveal_type(join(comparable, intlike())) # N: Revealed type is "__main__._SupportsCompare"
39323933
reveal_type(A(intlike(), comparable)) # N: Revealed type is "__main__.A[__main__._SupportsCompare, __main__._SupportsCompare]"
3934+
reveal_type(A(comparable, intlike())) # N: Revealed type is "__main__.A[__main__._SupportsCompare, __main__._SupportsCompare]"
39333935
[builtins fixtures/tuple.pyi]
39343936
[typing fixtures/typing-medium.pyi]
39353937

0 commit comments

Comments
 (0)