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


<masak> rakudo: class A { has $.b; proto method b {} }
<p6eval> rakudo 806efc: OUTPUT«===SORRY!===␤A method named 'b' already
exists in class 'A'. It may have been supplied by a role.␤»
<masak> cxreg: that's your error, right?
<cxreg> right
<masak> I don't think I've seen this addressed in S12.
<moritz_> putting the proto first should make it work
<masak> rakudo: class A { proto method b {}; has $.b }
<p6eval> rakudo 806efc: OUTPUT«===SORRY!===␤A method named 'b' already
exists in class 'A'. It may have been supplied by a role.␤»
<moritz_> accessor generation doesn't honor protos. That's a bug
* masak submits rakudobug

Reply via email to