develooper Front page | perl.perl6.compiler | Postings from June 2018

[perl #114276] [BUG] Cannot return junctions from .classify blocksin Rakudo

From:
Jan-Olof Hendig via RT
Date:
June 23, 2018 19:22
Subject:
[perl #114276] [BUG] Cannot return junctions from .classify blocksin Rakudo
Message ID:
rt-4.0.24-18976-1529781727-671.114276-80-0@perl.org
On Tue, 20 Oct 2015 23:06:02 -0700, bartolin@gmx.de wrote:
> Current failure mode:
> 
> $ perl6-m -e 'say (1, 2).classify: -> $x { 1|2 }'
> P6opaque: no such attribute '$!reified'
>   in block <unit> at -e:1
> 
> $ perl6-m --version
> This is perl6 version 2015.09-431-g5d83db3 built on MoarVM version
> 2015.09-79-gee9fc2b

Things have changed yet again:

$ perl6-m -e 'say (1, 2).classify: -> $x { 1|2 }'
{1 => [1 2], 2 => [1 2]}

$ perl6-m -v
This is Rakudo version 2018.06-24-gc441d8d built on MoarVM version 2018.06
implementing Perl 6.c.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About