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
Null PMC access when doing 'say $foo::' (which shouldn't even parse) in Rakudo #1913
Comments
From @masak<p6eval> std 31559: OUTPUT«ok 00:01 111m» |
@coke - Status changed from 'new' to 'open' |
From @cokeOn Tue Jul 06 09:19:10 2010, masak wrote:
No more NPAs: 16:01 < [Coke]> rakudo: $foo:: = 42; say $foo::; Closable with tests. -- |
From @cokeOn Sat Oct 08 13:03:15 2011, coke wrote:
Behavior changed again: 21:05 < [Coke]> r: $foo:: = 42; say $foo::; # RT # 76400 -- |
From @usev6We're back to the behaviour from 2011: $ perl6 -e '$foo:: = 42; say $foo::' $ perl6-m -e 'say $foo::' But I wonder whether this is really correct. The subject states that 'say $foo::' should not parse and TimToadys remarks sound likewise:
$ ./viv -e '$foo::' |
1 similar comment
From @usev6We're back to the behaviour from 2011: $ perl6 -e '$foo:: = 42; say $foo::' $ perl6-m -e 'say $foo::' But I wonder whether this is really correct. The subject states that 'say $foo::' should not parse and TimToadys remarks sound likewise:
$ ./viv -e '$foo::' |
From @MouqFWIW, it working with -e is a consequence of the implicit 'no strict'. Turning strict has what is probably a more correct result: $ perl6 -e 'use strict; $foo:: = 42; say $foo::' This is the correct behavior (dying, since $foo *wasn't* declared). Thus this is back to testneeded. On Tue Oct 28 13:47:21 2014, bartolin@gmx.de wrote:
|
From @jdvAdded test to t/spec/S02-names/symbolic-deref.t |
@jdv - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#76400 (status was 'resolved')
Searchable as RT76400$
The text was updated successfully, but these errors were encountered: