Should be fixed in https://github.com/rakudo/rakudo/commit/5747bc7121
Testneeded. Slightly relevant tests here:
https://github.com/perl6/roast/commit/34577134e0
Some discussion: https://irclog.perlgeek.de/perl6/2017-10-07#i_15271146
3
debug
at SETTING::src/core/Exception.pm:57 (./CORE.setting.moarvm:throw)
from src/Perl6/World.nqp:4660 (blib/Perl6/World.moarvm:throw)
from src/Perl6/Grammar.nqp:272 (blib/Perl6/Grammar.moarvm:typed_panic)
from src/Perl6/Grammar.nqp:262 (blib/Perl6/Grammar.moarvm:panic)
from src/Perl
1
debug
at SETTING::src/core/Exception.pm:57 (./CORE.setting.moarvm:throw)
from src/Perl6/World.nqp:4660 (blib/Perl6/World.moarvm:throw)
from src/Perl6/Grammar.nqp:272 (blib/Perl6/Grammar.moarvm:typed_panic)
from src/Perl6/Grammar.nqp:262 (blib/Perl6/Grammar.moarvm:panic)
from src/Perl
OK, RT refuses to display it, so let's try again.
Previous message:
Oof. I'm wondering why is it a .sorry and not .panic. Panic will blow up
immediately with a good error message, but I think there's some reason for it
to be a sorry. I can't figure out what it is exactly. Maybe something about
su
Oof. I'm wondering why is it a .sorry and not .panic. Panic will blow up
immediately with a good error message, but I think there's some reason for it
to be a sorry. I can't figure out what it is exactly. Maybe something about
subs called “if”? I tried various ways to trigger it erroneously but cou
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125596]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125596 >
Code:
say 1 if;
Result:
===SORRY!===
Whitespace required after keyword 'if'
at ./test.