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

Unresolved Global Yellow Underline When Importing * #114

Open
Aphrodites1995 opened this issue Dec 4, 2021 · 1 comment
Open

Unresolved Global Yellow Underline When Importing * #114

Aphrodites1995 opened this issue Dec 4, 2021 · 1 comment

Comments

@Aphrodites1995
Copy link

Screen Shot 2021-12-04 at 13 05 47

This runs perfectly fine but shows an error when syntax highlighted.

@wookayin
Copy link
Contributor

Semshi is doing the expected behavior here and this is why you should avoid import * statements. Because semshi analyzes the file rather statically, without other modules/files taken into consideration, there is no way for semshi to know whether a symbol exists in the global namespace or not.

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

2 participants