-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
I can't HAS stub? #2965
Comments
I could understand the compiler not being happy with what I was trying to do 🐟, but segfaulting seems a bit much |
This is probably for the same reason: use NativeCall;
class Oops is repr(「CStruct」) { HAS Oops $.more; }
|
|
You can't HAS a type before it's defined
Is there documentation on the runtime way to define a class? The MOP page is pretty light. I'm trying to write a test case, but "passing" means throwing an exception when the type is composed (rather than segfaulting), so I need to do the equivalent of this:
but at runtime so I can catch the exception... |
This will segfault until it's built on MoarVM/MoarVM#1116
This will segfault until it's built on MoarVM/MoarVM#1116
This will segfault until it's built on MoarVM/MoarVM#1116
This will segfault until it's built on MoarVM/MoarVM#1116
Segmentation fault
The text was updated successfully, but these errors were encountered: