Author: Whiteknight
Date: Sat Jan 10 19:19:51 2009
New Revision: 35376
Modified:
branches/pcc_invoke_convert/src/multidispatch.c
Log:
[pcc_invoke_convert] fix an off-by-one issuewhen creating signature PMCs for methods
Modified: branches/pcc_invoke_convert/src/multidispatch.c
==============================================================================
--- branches/pcc_invoke_convert/src/multidispatch.c (original)
+++ branches/pcc_invoke_convert/src/multidispatch.c Sat Jan 10 19:19:51 2009
@@ -879,6 +879,7 @@
Parrot_ex_throw_from_c_args(interp, NULL,
EXCEPTION_INVALID_OPERATION,
"Multiple Dispatch: only the first argument can be an invocant");
+ i++;
}
else {
PMC *pmc_arg = VTABLE_get_pmc_keyed_int(interp, sig_obj, i);