-
Notifications
You must be signed in to change notification settings - Fork 21
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
Recent Nim makes Weave crash #171
Comments
It seems the other way round. Weave uncovers a bug in the recent Nim compiler. synthesize(declineReqFSA):
proc decline*(req: sink StealRequest) {.gcsafe, raises: [].} I hope this helps a bit. Unfortunately, I haven't understood synthesis yet, so it's hard for me to |
I think this issue should be fixed by nim-lang/Nim#17657 It would be great if someone can think of a reproducible issue without weave. Anyway |
Thanks! |
BTW CI failed(nim-lang/Nim#17665) /home/runner/work/Nim/Nim/pkgstemp/weave/weave/parallel_for.nim(417, 19) template/generic instantiation of `parallelFor` from here
/home/runner/work/Nim/Nim/pkgstemp/weave/weave/parallel_for.nim(172, 16) Error: redefinition of 'CapturedTy'; previous declaration here: /home/runner/work/Nim/Nim/pkgstemp/weave/weave/parallel_for.nim(172, 16)
stack trace: (most recent call last) |
I can reproduce this error iff I try to compile
|
This bug is a bit of a shame since I just built a general high level interface for embarassingly parallel problems based on Weave and it effectively kept all of my components that will make use of it on nim <= 1.4.4. As a side note, on 1.4.4 the interface (and therefore Weave) works like a charm and the performance beats the pants off things like Numba. Color me impressed! :) |
The bug has been fixed in the current developing version of Nim. |
latest error messages:
|
This is with Nim devel from today
The text was updated successfully, but these errors were encountered: