[perl #126123] [BUG] clashing type constraints accepted

2017-12-02 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was fixed in (2015-11-18) https://github.com/rakudo/rakudo/commit/06729d91e6e2d0c96ee700012827677ee518b737 $ perl6 -e 'my Int $a of Str; say "hi"' ===SORRY!=== Error while compiling -e Str not allowed here; variable list already declared with type Int at -e:1 --> my Int $a of Str⏏; say "h

[perl #126123] [BUG] clashing type constraints accepted

2015-09-20 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126123] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126123 > S02 says this will produce a compiler error: $ ./perl6 -e 'my Int $a of Str; say "hi"' hi The