[perl #126107] [BUG] "of" type constraint inconsistently applied

2017-12-03 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
All of these were fixed (2017.11,HEAD(e5b660e)). Strings give compile-time errors, putting Any into something results in an Int. Curious minds can ask bisectable for details. 「testneeded」 On 2015-09-20 17:26:00, zef...@fysh.org wrote: > Extended case: if the "of" clause comes after an "is defaul

[perl #126107] [BUG] "of" type constraint inconsistently applied

2015-09-19 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126107] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126107 > If a scalar variable is given a type constraint using the "of" syntax, the type constraint is n