-
-
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
Templates: Crash with gensym'ed proc & method call #20002
Comments
metagn
changed the title
Templates: Crash with gensym & method call
Templates: Crash with gensym'ed proc & method call
Jul 11, 2022
metagn
added a commit
to metagn/Nim
that referenced
this issue
Jul 11, 2022
metagn
added a commit
to metagn/Nim
that referenced
this issue
Jul 11, 2022
While there is nothing wrong with this fix, this unlocks the hidden behavior of method calls not being able to call gensym'ed procs in templates.
metagn
added a commit
to metagn/Nim
that referenced
this issue
Jul 11, 2022
While this fix seems innocent, this unlocks the hidden behavior of method calls not being able to call gensym'ed routines inside templates.
Merged
FedericoCeratto
pushed a commit
to FedericoCeratto/Nim
that referenced
this issue
Jul 30, 2022
While this fix seems innocent, this unlocks the hidden behavior of method calls not being able to call gensym'ed routines inside templates.
capocasa
pushed a commit
to capocasa/Nim
that referenced
this issue
Mar 31, 2023
While this fix seems innocent, this unlocks the hidden behavior of method calls not being able to call gensym'ed routines inside templates.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example
Current Output
Expected Output
Possible Solution
Change
s
toa
in this line:Nim/compiler/semtempl.nim
Line 81 in fb5fbf1
This makes the crashing code output
10
. Did not test for other consequences.Additional Information
The text was updated successfully, but these errors were encountered: