Skip to content
This repository was archived by the owner on Mar 2, 2024. It is now read-only.

Mypy plugin#15

Open
emmatyping wants to merge 1 commit intomasterfrom
mypy
Open

Mypy plugin#15
emmatyping wants to merge 1 commit intomasterfrom
mypy

Conversation

@emmatyping
Copy link
Copy Markdown
Owner

@emmatyping emmatyping commented Jan 24, 2020

This is a WIP.

Currently it fails with:

Traceback (most recent call last):
File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "mypy\checkexpr.py", line 3645, in accept
File "mypy\nodes.py", line 1496, in accept
File "mypy\checkexpr.py", line 1914, in visit_member_expr
File "mypy\checkexpr.py", line 1932, in analyze_ordinary_member_access
File "mypy\checkmember.py", line 126, in analyze_member_access
File "mypy\checkmember.py", line 143, in _analyze_member_access
File "mypy\checkmember.py", line 225, in analyze_instance_member_access
File "mypy\checkmember.py", line 376, in analyze_member_var_access
File "mypy\checkmember.py", line 537, in analyze_var
File "mypy\maptype.py", line 20, in map_instance_to_supertype
AttributeError: attribute 'type_vars' of 'TypeInfo' undefined
test.py:6: : note: use --pdb to drop into pdb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant