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


Code:
our Int $x

Result:
===SORRY!=== Error while compiling -e
Cannot put a type constraint on an 'our'-scoped variable
at -e:1
------> our Int $x⏏<EOL>
    expecting any of:
        constraint


This is the commit that added these messages
https://github.com/rakudo/rakudo/commit/bfd8508f5ceee565380da201ef25bdfb6feb2b3d

As far as I can see, there is no good reason for current behavior.

Reply via email to