Skip to content

Commit 2286cb7

Browse files
committed
.
1 parent 238a8f6 commit 2286cb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-data/unit/check-typevar-tuple.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2736,5 +2736,6 @@ def foo() -> str:
27362736
return "hello"
27372737

27382738

2739+
# this is a false positive, but it no longer crashes
27392740
call(run, foo, some_kwarg="a") # E: Argument 1 to "call" has incompatible type "def [Ts`-1, T] run(func: def (*Unpack[Ts]) -> T, *args: Unpack[Ts], some_kwarg: str = ...) -> T"; expected "Callable[[Callable[[], str], str], str]"
27402741
[builtins fixtures/tuple.pyi]

0 commit comments

Comments
 (0)