-
Notifications
You must be signed in to change notification settings - Fork 1
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
Misleading .perl of anonymous classes in Rakudo #2022
Comments
From @masak<ash_> rakudo: my $a = class { has $a; }; say $a.new(a => 1).perl; # On the principle that an eval should give you back what you started |
From @cokeOn Thu Aug 05 14:14:15 2010, masak wrote:
These now output: 20:47 < [Coke]> rakudo: my $a = class { has $a; }; say $a.perl; -- |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Tue Oct 04 17:48:14 2011, coke wrote:
Slight change: 01:21 <[Coke]> rakudo: my $a = class { has $a; }; say $a.perl; -- |
From @zoffixznetSlightly different output now: <Zoffix> m: my $a = class { has $a; }; say $a.perl; |
From @MasterDuke17On Mon Jul 11 17:20:58 2016, cpan@zoffix.com wrote:
With $.a instead of $a: perl6 -e 'my perl6 -e 'my perl6 --version The equivalent output with a named class: perl6 -e 'class A { has $.a }; say A.new(a => 1).perl;' perl6 -e 'class A { has $.a }; say A.new.perl;' perl6 -e 'class A { has $a }; say A.new(a => 1).perl;' perl6 -e 'class A { has $a }; say A.new.perl;' I'm not sure what would be better than the current behavior for anonymous classes. |
From @MasterDuke17On Wed, 31 Aug 2016 19:06:13 -0700, ddgreen@gmail.com wrote:
Some discussion on #perl6-dev, https://irclog.perlgeek.de/perl6-dev/2017-03-05#i_14208515 [09:22] <MasterDuke> m: my |
If I get this correctly, the reference to |
I guess it comes down to invoking some principle of what |
@masak s/.perl/.raku/ :-) Personally, I'd rather have |
Migrated from rt.perl.org#77026 (status was 'open')
Searchable as RT77026$
The text was updated successfully, but these errors were encountered: