On Thu Jul 22 09:58:56 2010, masak wrote: > <masak> rakudo: class A { method pack($_) { s/c// }}; > A.new.pack("ccc") # discovered by cono++ > <p6eval> rakudo 220b67: OUTPUT«Null PMC access in find_method('new') [...] > * masak submits rakudobug > > Remove the s/c//, and everything works. Remove .pack("ccc"), and > everything works. How is it that the .pack call participates in > causing an error related to finding .new ?
21:44 < [Coke]> rakudo: class A { method pack($_) { s/c// }}; A.new.pack("ccc") # discovered by cono++ 21:44 <+p6eval> rakudo 7f5c22: OUTPUT«Cannot modify readonly value in '&infix:<=>' at line 1 in 'A::pack' at line 22:/tmp/HIyuNvbnYe in main program body at line 22:/tmp/HIyuNvbnYe» -- Will "Coke" Coleda