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

Missing reference when using a symbol from a submodule #1331

Open
dhanak opened this issue Dec 3, 2024 · 0 comments
Open

Missing reference when using a symbol from a submodule #1331

dhanak opened this issue Dec 3, 2024 · 0 comments

Comments

@dhanak
Copy link

dhanak commented Dec 3, 2024

In addition to the numerous "missing reference" issues (#988, #1204, #1230, #1232, #1276), I noticed that I get missing reference issues when I try to import symbols from a submodule of a toplevel module. E.g.:

using Base.Threads: threadid # threadid gets a missing reference warning
using Base.Threads: @spawn   # oddly enough, @spawn does not

using MyModule.Submodule: my_function # both Submodule and my_function get missing reference warnings

Quite annoying, because I often use small scripts to inspect and test the interior state of my packages, and LS doesn't really appreciate this.

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