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

Recursive imports result in wrong suggestions #114

Closed
RSDuck opened this issue May 20, 2020 · 1 comment
Closed

Recursive imports result in wrong suggestions #114

RSDuck opened this issue May 20, 2020 · 1 comment

Comments

@RSDuck
Copy link

RSDuck commented May 20, 2020

Take the following code which uses recursive imports in the limited form they are currently supported:

a.nim

const Constant = 0

import b

b.nim

import a

proc test*() =
    discard

echo Constant

In a.nim nothing from b.nim is suggested, while in b.nim everything is suggested twice.

@RSDuck
Copy link
Author

RSDuck commented Dec 18, 2020

this seems to be not a nimsuggest issue afterall. Most likely this fixed it: pragmagic/vscode-nim#180

@RSDuck RSDuck closed this as completed Dec 18, 2020
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