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


With Rakudo 153a4a8 on Parrot r36239, I get the following:

$ perl6 -e 'role A {}; class B { has A $!a }; B.new'
Type mismatch in assignment.
[...]

I see nothing wrong with the above, so I don't think the error is justified.

Reply via email to