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


<masak> rakudo: class A { has $!b is readonly = "foo" }; A.new
<p6eval> rakudo 55f51d:  ( no output )
<masak> locally, "No applicable candidates found to dispatch to for
'trait_mod:is'"
<masak> should that work?
<jnthn> masak: Probably...
* masak submits rakudobug
<masak> at least the warning is LTA-ly suspicious.
<jnthn> Well, it's not far off the mark.
<masak> it makes it sound as if 'is readonly' is not implemented...
<jnthn> Right, which in that case it evidently isn't. :-)
<masak> so, to summarize: the bug is that 'is readonly' isn't implemented.
<masak> we also don't really know whether it should work,
semantically, to assign to a readonly variable during object
construction.

Reply via email to