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

[perl #125985] [BUG] Internal error when a constant, unspace, and amap are involved in Rakudo

Thread Previous
From:
Aleks-Daniel Jakimenko-Aleksejev via RT
Date:
February 3, 2018 22:40
Subject:
[perl #125985] [BUG] Internal error when a constant, unspace, and amap are involved in Rakudo
Message ID:
rt-4.0.24-16883-1517697609-1554.125985-80-0@perl.org
Ouch. It seems that one of my links is wrong, should've been this one I think:
https://gist.github.com/Whateverable/cedc8ef783acc22e8f07afa98f5ad7d6

On 2017-12-02 19:41:52, alex.jakimenko@gmail.com wrote:
> Not sure how it golfs down to that, because it never produced the same
> error
> message. In any case, both issues are resolved.
>
> First: https://gist.github.com/76f318afe9a72a77d2bf0fecff46a555
> (bisectable points at (2017-09-28)
>
https://github.com/rakudo/rakudo/commit/6824e19282e19a0953fc64faf14445600d9b24e6
> but that's not really the commit that resolved the issue completely,
> it's a bit
> more complicated than that)
>
>
> Second:
> https://gist.github.com/Whateverable/e503d4e068d70977512a1eb47b65a0a5
> (2017-10-07)
>
https://github.com/rakudo/rakudo/commit/f254e359d79b5953a019802fcd956421731282dc
>
>
> Tests needed for both issues.
>
>
> 「testneeded」
>
> On 2015-09-07 12:32:06, jnthn@jnthn.net wrote:
> > Further golfs to:
> >
> > constant nums = 1; my \fizzbuzz = nums\ .map({ $_ });
> >
> > But goes away with:
> >
> > constant nums = 1; my \fizzbuzz = nums\.map({ $_ });
> >
> > Somehow we treat it as a sub call rather than a term when there's
> > actually space after the \. Much odd...


Thread Previous


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