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


<masak> r: class A { has $s .= new }
<p6eval> rakudo 3bc91c: OUTPUT«===SORRY!===␤Cannot use .= to
initialize an attribute at line 2, near " }"␤»
<masak> why is that, by the way?
<jnthn> masak: Laziness.
<jnthn> masak: Probably on my part.
<masak> yeah, I don't see the impossibility here.
<jnthn> masak: It can likely be made to work.
<jnthn> masak: It's just a little bit more re-writing.
<masak> aye.
<masak> it's been bumped out of RT (because that ticket was about an
internal error).
<masak> I'm thinking of bumping it back in as a feature request.
<jnthn> I suspect it went like this: it didn't ever work before but
gave a crappy error, I did the initializer refactor, put in a good
error for it and got on with something else :)
<masak> would you be helped by a rakudobug for it?
<jnthn> Yes.
* masak submits rakudobug
<jnthn> Otherwise it stands a very high chance of being forgotten.
< masak> wouldn't want that.

Reply via email to