-
-
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
New JS mdoe issue: return + ref ints. #21317
Labels
Comments
This was referenced Jan 30, 2023
treeform
added a commit
to treeform/jsony
that referenced
this issue
Jan 31, 2023
Works in 1.6.2 |
caused by #19393 |
ringabout
added a commit
that referenced
this issue
Feb 1, 2023
Araq
pushed a commit
that referenced
this issue
Feb 1, 2023
narimiran
pushed a commit
that referenced
this issue
Feb 14, 2023
survivorm
pushed a commit
to survivorm/Nim
that referenced
this issue
Feb 28, 2023
…t pointers [backport 1.6] (nim-lang#21320) fixes nim-lang#21317; regression; etyBaseIndex should return fat pointers
capocasa
pushed a commit
to capocasa/Nim
that referenced
this issue
Mar 31, 2023
…t pointers [backport 1.6] (nim-lang#21320) fixes nim-lang#21317; regression; etyBaseIndex should return fat pointers
bung87
pushed a commit
to bung87/Nim
that referenced
this issue
Jul 29, 2023
…t pointers [backport 1.6] (nim-lang#21320) fixes nim-lang#21317; regression; etyBaseIndex should return fat pointers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This used to work and is a recent breakage. Jsony tests cough this: https://github.com/treeform/jsony/
Tiny code example to reproduce:
Nim Version
Nim Compiler Version 1.6.10 [Linux: amd64]
Compiled at 2022-11-21
Copyright (c) 2006-2021 by Andreas Rumpf
git hash: f151925
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
If you don't use return, but call it some other way it works:
or don't use
ref int
also works.
Its only when
ref int
+result
there is an issue.Additional Information
This works with C backed no issues.
The text was updated successfully, but these errors were encountered: