# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #81548] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81548 >
<masak> rakudo: class A { has @.b handles Array }; my $a = A.new; say $a.b.perl; $a.push(1, 2, 3); say $a.b.perl <p6eval> rakudo b570a2: OUTPUT«[]Method 'push' not found for invocant of class 'A' in main program body at line 22:/tmp/KrHSBT37lh» <masak> aww. * masak submits rakudobug <masak> would have been really cool if that worked... <moritz_> what's the bug? <masak> S12:1366: "If you say C<has $.fur is rw handles Groomable;> then you get only those methods available via the C<Groomable> role or class." <moritz_> ah. <masak> by extension, I expected to get the methods available via Array.