Fixed with https://github.com/rakudo/rakudo/commit/f2fca0c8c2 .

> On 26 May 2017, at 10:47, Brent Laabs <bsla...@gmail.com> wrote:
> 
> To file a bug in Rakudo, you should email rakudo...@perl.org.
> 
> If it's a better error message you want, put "LTA Error" in the email subject 
> somewhere.  LTA means "less than awesome", because we in Perl 6 land only 
> accept awesome error messages.
> 
> If you want to actually have the feature, put "[NYI]" in the subject line, 
> for "not yet implemented".
> 
> You can of course track Perl 6 bugs at in RT, perl6 queue: 
> https://rt.perl.org/
> 
> On Fri, May 26, 2017 at 1:34 AM, Gabor Szabo <szab...@gmail.com> wrote:
> I just tried:
> 
> 
> > my $x is Int = 42;
> ===SORRY!=== Error while compiling:
> is trait on $-sigil variable not yet implemented. Sorry.
> ------> my $x is Int⏏ = 42;
>     expecting any of:
>         constraint
> 
> and was a bit disappointed. It took me a while and reading the book of
> Andrew Shitov till I tried
> 
> > my Int $x = 42;
> 42
> 
> 
> I wonder if the error message could hint at this way of declaring a
> type constraint?
> 
> Gabor
> 

Reply via email to