# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69612]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69612 >
<masak> rakudo: class A { has %!attrs; method postcircumfix:<{
}>($key) { %!attrs{$key} } }; say A.new(:attrs({ foo => "bar" }))<foo>
<p6eval> rakudo f845cc: OUTPUT«No such attribute '%!attrs'in method
A::postcircumfix:{ } [...])called from method A::postcircumfix:{ }
[...]
<masak> waitwait, A::postcircumfix<{ }> calls itself?
<masak> it's the Parrot bug again, isn't it? :(
<masak> rakudo: class A { has %!attrs= {}; method postcircumfix:<{
}>($key) { %!attrs.WHAT } }; say A.new(:attrs({ foo => "bar" }))<foo>
<p6eval> rakudo f845cc: OUTPUT«Hash()»
<masak> hm, it seems like it's the use of .{} inside the
postcircumfix:<{ }> method body that causes it.
<masak> I'm not sure it has the same underlying cause, so...
* masak submits rakudobug