Skip to content

Commit 6b072b4

Browse files
committed
pyeval
1 parent 8941484 commit 6b072b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/pythoneval.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ class MyDDict(t.DefaultDict[int,T], t.Generic[T]):
823823
MyDDict(dict)['0']
824824
MyDDict(dict)[0]
825825
[out]
826-
_program.py:7: error: Argument 1 to "defaultdict" has incompatible type "Type[List[Any]]"; expected "Optional[Callable[[], str]]"
826+
_program.py:7: error: Argument 1 to "defaultdict" has incompatible type "Type[List[_T]]"; expected "Optional[Callable[[], str]]"
827827
_program.py:10: error: Invalid index type "str" for "defaultdict[int, str]"; expected type "int"
828828
_program.py:10: error: Incompatible types in assignment (expression has type "int", target has type "str")
829829
_program.py:20: error: Argument 1 to "tst" has incompatible type "defaultdict[str, List[Never]]"; expected "defaultdict[int, List[Never]]"

0 commit comments

Comments
 (0)