-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Cannot call pointerset at toplevel #31182
Comments
If this isn't trivially fixable, "calls to pointerset must be compiled" would be a clearer error message. |
Seems like this should be disallowed in the compiled version also and whatever the users are of this should be fixed. |
Comes from Lines 2506 to 2519 in 4b01e6a
|
Yeah, that code doesn't even work:
|
I think we could allow it though, since we do have a defined memory layout for this. It would be a bit silly to allow this for references (we do, though of course there's a strong case against it) but not bits unions. |
We can't entirely make it valid there—we have no possible way to know where the metadata for the value is located. |
Right, it would not update the metadata. It would just be a way to manipulate the raw data representation. One can of course question the wisdom of that, but that's what the |
but
Ref JuliaDebug/JuliaInterpreter.jl#76
The text was updated successfully, but these errors were encountered: