[svn:parrot] r41818 - branches/pcc_reapply/src/call
tene at svn.parrot.org
tene at svn.parrot.org
Sun Oct 11 05:05:10 UTC 2009
Author: tene
Date: Sun Oct 11 05:05:10 2009
New Revision: 41818
URL: https://trac.parrot.org/parrot/changeset/41818
Log:
Revert "[pcc] Fail when building a sig for a duplicate named parameter"
This was bad and I didn't test it.
Modified:
branches/pcc_reapply/src/call/args.c
Modified: branches/pcc_reapply/src/call/args.c
==============================================================================
--- branches/pcc_reapply/src/call/args.c Sun Oct 11 05:03:44 2009 (r41817)
+++ branches/pcc_reapply/src/call/args.c Sun Oct 11 05:05:10 2009 (r41818)
@@ -492,11 +492,6 @@
if (arg_flags & PARROT_ARG_NAME) {
string_sig = Parrot_str_append(interp, string_sig, CONST_STRING(interp, "n"));
arg_index++;
- if (VTABLE_exists_keyed_str(interp, call_object, string_value)) {
- Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
- "duplicate named argument in call");
-
- }
extract_named_arg_from_op(interp, call_object, string_value,
raw_sig, raw_args, arg_index);
}
More information about the parrot-commits
mailing list