Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate names with symbol type? #648

Open
nikic opened this issue Jan 26, 2020 · 0 comments
Open

Annotate names with symbol type? #648

nikic opened this issue Jan 26, 2020 · 0 comments

Comments

@nikic
Copy link
Owner

nikic commented Jan 26, 2020

Something I just ran into ... if you look just at a Name node, you can't tell whether it refers to a class, function or constant. I had to replicate parts of the NameResolver logic to determine that. It might make sense to make NameResolver also add an attribute with the symbol type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant