You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This errors out:
<Zoffix__> m: my $n = 'foo'; my $m = :42foo; say $m«$n».[0]
<camelia> rakudo-moar 601cdb: OUTPUT: «===SORRY!=== Error while compiling <tmp>Unable to parse quote-words subscript; couldn't find right double-angle quoteat <tmp>:1------> y $n = 'foo'; my $m = :42foo; $m«$n».[0]⏏<EOL> expecting any of: statement en…»
<Zoffix__> m: my $n = 'foo'; my $m = :42foo; say $m<<$n>>.[0]
<camelia> rakudo-moar 601cdb: OUTPUT: «===SORRY!=== Error while compiling <tmp>Unable to parse quote-words subscript; couldn't find right double-angle quoteat <tmp>:1------> 'foo'; my $m = :42foo; say $m<<$n>>.[0]⏏<EOL> expecting any of: statement end…»
I'd expect it to work the same as:
<Zoffix__> m: my $n = 'foo'; my $m = :42foo; say ($m«$n»).[0]
<camelia> rakudo-moar 601cdb: OUTPUT: «42»
<Zoffix__> m: my $n = 'foo'; my $m = :42foo; say $m{$n}.[0]
<camelia> rakudo-moar 601cdb: OUTPUT: «42»
<Zoffix__> m: my $n = 'foo'; my $m = :42foo; say $m<foo>.[0]
<camelia> rakudo-moar 601cdb: OUTPUT: «42»
Migrated from rt.perl.org#131341 (status was 'new')
Searchable as RT131341$
The text was updated successfully, but these errors were encountered: