-
-
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
constructor causes SIGBUS if a destroy is defined #14601
Labels
Comments
@timotheecour both of these work for me on latest devel with both refc/arc, can you confirm? |
Clyybber
added a commit
to Clyybber/Nim
that referenced
this issue
Oct 22, 2020
Clyybber
added a commit
that referenced
this issue
Oct 22, 2020
indeed, works, thanks! (and I rechecked that 52841db was still causing the above bug, so not sure what fixed it, but ok!) |
2 tasks
narimiran
pushed a commit
that referenced
this issue
Nov 16, 2020
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
irdassis
pushed a commit
to irdassis/Nim
that referenced
this issue
Mar 16, 2021
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
constructor causes SIGBUS if a destroy is defined
Example 1
Current Output
Expected Output
Example 2
here's another example without
seq
, directly setting a field inadd2
:Additional Information
add2
is attempting to write to ROMI don't think there's anything invalid with this code however; simply adding a field
x2: array[10, int]
shouldn't suddendly give rise to SIGBUS errorsThe text was updated successfully, but these errors were encountered: