You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "mypyc/irbuild/builder.py", line 265, in accept
File "mypy/nodes.py", line 774, in accept
File "mypyc/irbuild/visitor.py", line 179, in visit_func_def
File "mypyc/irbuild/function.py", line 98, in transform_func_def
File "mypyc/irbuild/function.py", line 275, in gen_func_item
File "mypyc/irbuild/env_class.py", line 102, in load_env_registers
File "mypyc/irbuild/env_class.py", line 179, in add_args_to_env
File "mypyc/irbuild/env_class.py", line 165, in num_bitmap_args
File "mypyc/irbuild/builder.py", line 1236, in type_to_rtype
File "mypyc/irbuild/mapper.py", line 143, in type_to_rtype
foo.py:11: AssertionError: unexpected type <class 'mypy.types.ParamSpecType'>
Your Environment
Mypy version used: 1.3.0
Mypy command-line flags: n/a
Mypy configuration options from mypy.ini (and other config files): n/a
Activity
ilevkivskyi commentedon Aug 16, 2023
The original example works on master, likely fixed by #15837