# New Ticket Created by  Stephane Payrard 
# Please include the string:  [perl #76514]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76514 >


Here, the where clause is applied to the default value, the undefined type Any
and results in an error.

$ perl6
> sub a(Range $r? where {$r.min >= 0} ) {};  a()
Type objects are abstract and have no attributes, but you tried to access $!min
>

-- 
cognominal stef

Reply via email to