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

Import occurrences don't have correct role #84

Open
maks-ivanov opened this issue May 17, 2023 · 0 comments
Open

Import occurrences don't have correct role #84

maks-ivanov opened this issue May 17, 2023 · 0 comments

Comments

@maks-ivanov
Copy link

maks-ivanov commented May 17, 2023

When parsing import nodes, the symbol role on the occurrence is defaulted to read access role. As far as I can tell, it should (also/instead) have an import role

symbol_roles: scip.SymbolRole.ReadAccess,

override visitImportFromAs(node: ImportFromAsNode): boolean {

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

No branches or pull requests

4 participants