On Sat, 09 Jan 2016 05:05:06 -0800, lucasbuchala wrote:
> An itemized empty list is getting ".perl"-stringified as "$()", which
> I think is wrong since $() means some idiom using "$/". The fix should
> be just to make it stringify as "$( )" (with a space in the middle) or
> maybe "().item" for clarity. (Maybe in a future version of the
> language, the syntax "$()" could be made to really mean a itemized
> empty list.)
> 
> > say $( ).perl
> $()
> 
> > say ().item.perl
> $()
> 
> > 'foo' ~~ /o+/; say $()
> oo

Thank you for the report. This is now fixed.

Fix: https://github.com/rakudo/rakudo/commit/a148c70190
Test: https://github.com/perl6/roast/commit/dff2d90263

This also identified a wrong test in 6.c-errata:
Approval for change: https://irclog.perlgeek.de/perl6-dev/2017-02-10#i_14080972
Change in 6.c-errata: https://github.com/perl6/roast/commit/ca0ce9a5d7
Change in master: https://github.com/perl6/roast/commit/fc2f46ea02

Reply via email to