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
I can check it with mypy, but not compile it with mypyc:
$ mypy repro.py
Success: no issues found in 1 source file
$ mypyc repro.py
Traceback (most recent call last):
File "mypyc/irbuild/builder.py", line 266, in accept
File "mypy/nodes.py", line 787, in accept
File "mypyc/irbuild/visitor.py", line 179, in visit_func_def
File "mypyc/irbuild/function.py", line 99, in transform_func_def
File "mypyc/irbuild/function.py", line 284, 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 1233, in type_to_rtype
File "mypyc/irbuild/mapper.py", line 153, in type_to_rtype
repro.py:6: AssertionError: unexpected type <class 'mypy.types.ParamSpecType'>
Consider the following module:
I can check it with mypy, but not compile it with mypyc:
Versions:
The text was updated successfully, but these errors were encountered: