-
Notifications
You must be signed in to change notification settings - Fork 1
Segmentation fault when calling a routine having a native parameter with a type object argument in Rakudo #3678
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
Comments
From @masak<TimToady> m: sub foo(int:U $x) { $x }; |
From @FROGGSFixed by jnthn: |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6I added a test for the 'sub(int $x) ...' example to S06-signature/types.t with commit Raku/roast@cae9192292. Please note that I had to expand the body of the sub a litte bit -- otherwise the command didn't die on rakudo.jvm: $ perl6-j -e 'sub foo(int $x) { $ perl6-j -e 'sub foo(int $x) { say $x }; foo(Int)' But more importantly, the simple case without any sub involved gives a segfault on rakudo.moar nowadays: $ perl6-m -e 'my int $x = Int' $ perl6-j -e 'my int $x = Int' $ perl6-m --version |
From @jnthnOn Tue Mar 10 11:17:12 2015, bartolin@gmx.de wrote:
Fixed this case, and added a tests (also covering num and str) in S02-types/native.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123789 (status was 'resolved')
Searchable as RT123789$
The text was updated successfully, but these errors were encountered: