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

Autocomplete and errors fail on sub-packages #304

Closed
DreepyYunky opened this issue Feb 3, 2024 · 3 comments
Closed

Autocomplete and errors fail on sub-packages #304

DreepyYunky opened this issue Feb 3, 2024 · 3 comments

Comments

@DreepyYunky
Copy link

Sorry, but why does autocomplete and errors fail when importing a subpackage (a package within another package)

I'm using Neovim and I'm demonstrating this through the Xlib library in X11 and I have at line 12 I set a clearly wrong value but It hasn't given me any errors
Screenshot 2024-02-03 131203

Maybe this is an error? Some kind of oversight?

@DanielGavin
Copy link
Owner

There is no such package to import. core:x11/xlib is not a thing in the core packages.

Can you import packages that are in core and complete them, such as core:fmt?

@DreepyYunky
Copy link
Author

You're right, X11 was in vendor, not core.

It should have given me an error though.

@DanielGavin
Copy link
Owner

DanielGavin commented Feb 3, 2024

I do not control that. I just get the errors from odin check, but since that has no line position, I cannot show the error.

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