-
-
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
Default value of object parameterized with a RootRef generates incorrect C #20699
Labels
Comments
|
I don't think so. It seems to be a pre-existing problem. It works with refc, not with ARC/ORC. I'm investigating it. |
deech
added a commit
to deech/Nim
that referenced
this issue
Nov 8, 2022
Araq
added a commit
that referenced
this issue
Nov 10, 2022
worked around with status-im/nim-stew#150 |
capocasa
pushed a commit
to capocasa/Nim
that referenced
this issue
Mar 31, 2023
…g#20790) * fixes nim-lang#20699; generate an empty struct for void type * Add docs and test case.
capocasa
pushed a commit
to capocasa/Nim
that referenced
this issue
Mar 31, 2023
…nim-lang#20806) * Revert "fixes nim-lang#20699; generate an empty struct for void type (nim-lang#20790)" This reverts commit 8fcb938. * better fix [backport]
bung87
pushed a commit
to bung87/Nim
that referenced
this issue
Jul 29, 2023
…g#20790) * fixes nim-lang#20699; generate an empty struct for void type * Add docs and test case.
bung87
pushed a commit
to bung87/Nim
that referenced
this issue
Jul 29, 2023
…nim-lang#20806) * Revert "fixes nim-lang#20699; generate an empty struct for void type (nim-lang#20790)" This reverts commit 8fcb938. * better fix [backport]
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
The following code:
fails to compile with:
Seems the default value of the
Either
tries to use a struct parameter that doesn't exist.Nim Version
Current Standard Output Logs
No response
Expected Standard Output Logs
No response
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: