On Thu, 2004-04-15 at 09:18, Leopold Toetsch wrote: > Ah. Relikt of Jeff's patch. If that constant got reused elsewhere, e.g. > as a method name, it were one too short.
Confirmed. Thanks, Leo! Would a test patch such as the following be good to catch regressions, or should it go elsewhere? If elsewhere, do you prefer a separate test in object-meths.t or somewhere in imcc/t? -- c
Index: t/pmc/object-meths.t =================================================================== RCS file: /cvs/public/parrot/t/pmc/object-meths.t,v retrieving revision 1.17 diff -u -u -r1.17 object-meths.t --- t/pmc/object-meths.t 10 Apr 2004 12:50:23 -0000 1.17 +++ t/pmc/object-meths.t 15 Apr 2004 16:54:04 -0000 @@ -428,7 +428,7 @@ find_type I0, "Foo" new P2, I0 - set S0, "meth" + set S0, 'meth' fetchmethod P0, P2, S0 print "main\n" # P2, S0 are as in callmethod