[perl #125985] [BUG] Internal error when a constant, unspace, and a map are involved in Rakudo <[email protected]>

[email protected] ("Aleks-Daniel Jakimenko-Aleksejev via RT")
Newsgroups perl.perl6.compiler
Message-ID <[email protected]>
Anyway, tests in
https://github.com/perl6/roast/commit/7557eef426fa4ea102d2d89b84c47dd5c1d3ab08

On 2018-02-03 14:40:09, [email protected] wrote:
> 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, [email protected] 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, [email protected] 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...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.