-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unable to overload voodoo/magic by continuation types #235
Labels
enhancement
New feature or request
Comments
alaviss
added
bug
Something isn't working
enhancement
New feature or request
and removed
bug
Something isn't working
labels
Sep 14, 2021
alaviss
changed the title
Unable to overload Voodoo/Magic calls
Unable to overload voodoo/magic by continuation types
Sep 14, 2021
The main limitation for this is that we have to produce a version of magic/voodoo without the continuation parameter so that it can be matched by sigmatch before I can only think of two ways out:
This issue is low priority for now. |
#258 was reverted |
Future fixes to this bug needs to be aware of #259. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Either as magic or voodoo this considers them all to be redefinitions. If I change parameter field names this still occurs.
Even if the objects ref different continuations I hit the same wall
Changing parameter names does not help, leorize has offered knowledge into the origin of the matter.
WORK AROUND:
His suggestion was to split the calls into separate modules. Doing so I was able to overload the calls and successfully make dynamic dispatch calls with continuations
See https://github.com/shayanhabibi/cpslearning/blob/main/dynamicdispatch/main.nim
The text was updated successfully, but these errors were encountered: