You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<jaffa4> m: goto b; b: ; say "hello";
<camelia> rakudo-moar 48c0ba: OUTPUT«===SORRY!=== Error while
compiling /tmp/keUfxpNWafVariable '&b' is not declaredat
/tmp/keUfxpNWaf:1------> goto ⏏b; b: ; say "hello";»
<masak> that one could use a better error message.
<masak> std: goto B; B: say "hello"
<camelia> std 28329a7: OUTPUT«===SORRY!===Illegally post-declared
type: 'B' used at line 1Check failedFAILED 00:00 135m»
<masak> right.
* masak submits LTA rakudobug
STD does a better job there. (It feels like it should be possible to
figure out that B is a label and not a type here; I know there's a
heuristic in place that says upperbase => probably a type, but we do
have the label in the program in this case.) Even with "type" in the
error message, STD's error message is way better than Rakudo's, since
it says "Illegally post-declared", which is the real problem.
p6rt
added
the
LTA
Less Than Awesome; typically an error message that could be better
label
Jan 5, 2020
Migrated from rt.perl.org#125638 (status was 'new')
Searchable as RT125638$
The text was updated successfully, but these errors were encountered: