Patch by bartolin++:
https://github.com/rakudo/rakudo/commit/4bdc88046ad0289f2708e3195e59df9edc83c258
Another test: https://github.com/perl6/roast/commit/1145029340
Closing ticket.
Since the current error message looks reasonable to me (though different from
STD's) I went ahead and added a test to S32-exceptions/misc.t with the
following commit: https://github.com/perl6/roast/commit/5265f7d69e
But: The new error message only happens with "my Int a;". Without the semicolon
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #120831]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=120831 >
r: my Int a; # LTA error
rakudo-jvm 413650: OUTPUT«===SORRY!===Type 'Int' is not
decla