# New Ticket Created by "jason switzer" # Please include the string: [perl #68996] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68996 >
(12:56:30) s1n: rakudo: class A { has $.foo = 'bar'; multi method foo(Str $test) { say $test }}; my $a = A.new; $a.foo("oh hai") (12:56:39) p6eval: rakudo b51d94: OUTPUT«push_pmc() not implemented in class 'Sub'» (12:56:49) s1n: rakudobug? (12:57:54) synth left the room (quit: "Leaving"). (12:58:33) moritz_: known bug (12:58:42) moritz_: Ovid++ reported it a few months back (12:58:51) moritz_: hm (12:58:54) moritz_: oh wait (12:59:15) moritz_: I think in Ovid's case it was not a mulit method, just a single one (iirc) (12:59:52) moritz_: s1n: I'm not sure. So in case of doubt, please report (13:00:01) moritz_: has $.foo installs a method foo (13:00:06) moritz_: but IMHO it should be a multi (13:00:55) ***s1n submits As far as I can tell, that should generate multi methods so I can provide additional accessors. I'm not sure what the spec says on the matter though, so this may be invalid. -Jason "s1n" Switzer