Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: lib/html/templates/html/impl/impl_Element.darttemplate

Issue 11231074: Change signature of noSuchMethod to take an InvocationMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698