Index: lib/html/templates/html/impl/impl_Element.darttemplate |
diff --git a/lib/html/templates/html/impl/impl_Element.darttemplate b/lib/html/templates/html/impl/impl_Element.darttemplate |
index e5b84e8ae82cb41d43c1b24afefc440b29939b4b..73503c90e3d8a515a402e0085064a96a2ee726ab 100644 |
--- a/lib/html/templates/html/impl/impl_Element.darttemplate |
+++ b/lib/html/templates/html/impl/impl_Element.darttemplate |
@@ -738,9 +738,11 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
var xtag; |
$if DARTIUM |
- noSuchMethod(String name, List args) { |
+ noSuchMethod(InvocationMirror invocation) { |
if (dynamicUnknownElementDispatcher == null) { |
- throw new NoSuchMethodError(this, name, args); |
+ throw new NoSuchMethodError(this, invocation.methodName, |
+ invocation.positionalArguments, |
+ invocation.namedArguments); |
} else { |
return dynamicUnknownElementDispatcher(this, name, args); |
} |