Skip Menu |
Report information
Id: 129986
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

To: rakudobug [...]
Subject: Constraints on ‘our’-scoped variables are not allowed (our Int $x)
From: Aleks-Daniel Jakimenko-Aleksejev <alex.jakimenko [...]>
Date: Sat, 29 Oct 2016 19:04:32 +0300
Download (untitled) / with headers
text/plain 393b
our Int $x

===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:

This is the commit that added these messages

As far as I can see, there is no good reason for current behavior.
Download (untitled) / with headers
text/plain 394b
On Sat, 29 Oct 2016 09:04:52 -0700, wrote: Show quoted text
I think those messages existed earlier and that commit just moved them:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at