Closed bennn closed 3 years ago
99653029173bd443d4af80a02eef0e628f865b82 2021-06-24
from __static__ import CheckedDict def chk_ref(d: CheckedDict[int, int]) -> int: return d[0] pydict: dict[int, int] = {1: 1} chk_ref(pydict)
TypeError: expected 'dict[int, int]', got 'dict'
Error: expected Checked Dict got Python dict
fixed by 7cedc43
What version of Static Python are you using?
99653029173bd443d4af80a02eef0e628f865b82 2021-06-24
What program did you run?
What happened?
What should have happened?
Error: expected Checked Dict got Python dict