-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
{.reorder: on.} pragma causes import errors #8665
Comments
genotrance
changed the title
{.reorder: on.} pragma causes import errors
Aug 16, 2018
{.reorder: on.}
pragma causes import errors
|
LemonBoy
added a commit
to LemonBoy/Nim
that referenced
this issue
Aug 20, 2018
Take this into account while searching for undefined forward references. Fixes nim-lang#8665
Araq
pushed a commit
that referenced
this issue
Aug 21, 2018
Take this into account while searching for undefined forward references. Fixes #8665
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider:
Let's import this in another file:
a.nim
compiles just fine. Butb.nim
compilation fails:I have tested this with #head, 0.18.0 and 0.17.2 and it is still broken. This is gating the libui wrapper I'm working on using nimgen since it has multiple forward declarations and it is not trivial to automate moving around the code to avoid the forward declarations and
{.reorder: on.}
.The text was updated successfully, but these errors were encountered: