# New Ticket Created by  Alex Jakimenko 
# Please include the string:  [perl #127100]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127100 >


Code:
sub foo (--> Bool Int $x, Int $y) { True }

Result:
===SORRY!=== Error while compiling -e
Type 'Bool' is not declared. Did you mean 'Cool'?
at -e:1
------> sub foo (--> Bool⏏ Int $x, Int $y) { True }


I know that I'm doing it wrong, but 「Bool」 IS declared! Come on!

Actually, this is not the first time I see this, and in fact it is not the
first time I report such LTA error. See
https://rt.perl.org/Public/Bug/Display.html?id=125902

Reply via email to