Skip Menu |
Report information
Id: 126449
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

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



From: Alex Jakimenko <alex.jakimenko [...] gmail.com>
Date: Sun, 25 Oct 2015 14:42:43 +0200
To: rakudobug [...] perl.org
Subject: LTA error message: cannot put a constraint, expecting constraint
Download (untitled) / with headers
text/plain 350b
Code:
our Str $foo;

Result:
===SORRY!=== Error while compiling /home/alex/perl6test/./test3.pl
Cannot put a type constraint on an 'our'-scoped variable
at /home/alex/perl6test/./test3.pl:2
------> our Str $foo⏏;
    expecting any of:
        constraint

It says “cannot put a type constraint” but then goes “expecting any of: constraint”.



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

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