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
NullPointerException with REPL on attribute with unsupported type #2929
Comments
From @edwinst$ ./perl6
$ ./perl6 --version Seems to be REPL-specific: $ ./perl6 -e 'class A { has @.a of int }' at -e:1 |
From @usev6As a status update: The REPL with rakudo.jvm gives a NullPointerException: $ echo 'class A { has @.a of int }' | perl6-j
Executing the command with -e the error message is unchanged (it's the same error when evaluating the code in the REPL with rakudo.moar): $ perl6 -e 'class A { has @.a of int }' With parrot (latest version from rakudo star 2015.02 it's still a Null PMC access with the REPL: $ echo 'class A { has @.a of int }' | perl6-p
I'll change the subject to mention the NPE on JVM. |
1 similar comment
From @usev6As a status update: The REPL with rakudo.jvm gives a NullPointerException: $ echo 'class A { has @.a of int }' | perl6-j
Executing the command with -e the error message is unchanged (it's the same error when evaluating the code in the REPL with rakudo.moar): $ perl6 -e 'class A { has @.a of int }' With parrot (latest version from rakudo star 2015.02 it's still a Null PMC access with the REPL: $ echo 'class A { has @.a of int }' | perl6-p
I'll change the subject to mention the NPE on JVM. |
@usev6 - Status changed from 'new' to 'open' |
From @usev6This works now: $ perl6-m -e 'class A { has @.a of int }; my $foo = A.new; $foo.a = 1,2,3; say $foo.perl' Also, there is no NPE with the REPL: $ echo 'class A { has @.a of int }' | perl6-j I added a test to S12-class/attributes.t with commit Raku/roast@311b07e6b8 I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now: $ perl6-m -e 'class A { has @.a of int }; my $foo = A.new; $foo.a = 1,2,3; say $foo.perl' Also, there is no NPE with the REPL: $ echo 'class A { has @.a of int }' | perl6-j I added a test to S12-class/attributes.t with commit Raku/roast@311b07e6b8 I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#115310 (status was 'resolved')
Searchable as RT115310$
The text was updated successfully, but these errors were encountered: