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

Unified Diff: lib/runtime/dart_runtime.js

Issue 1085723002: fixes for angular hello: String + and disable broken arg parsing (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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/runtime/dart_runtime.js
diff --git a/lib/runtime/dart_runtime.js b/lib/runtime/dart_runtime.js
index a3f365e84435343859b965a8f84542fc71d8a594..205db10ce323e4fb5af7042fb9fb03390fe50567 100644
--- a/lib/runtime/dart_runtime.js
+++ b/lib/runtime/dart_runtime.js
@@ -54,6 +54,8 @@ var dart, _js_helper;
throwNoSuchMethod(obj, method, args);
}
}
+ // TODO(jmesserly): enable this when we can fix => and methods.
+ /*
let formals = formalParameterList(f);
// TODO(vsm): Type check args! We need to encode sufficient type info on f.
if (formals.length < args.length) {
@@ -65,6 +67,7 @@ var dart, _js_helper;
}
}
}
+ */
return f.apply(obj, args);
}

Powered by Google App Engine
This is Rietveld 408576698