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

Unified Diff: test/codegen/expect/dart/_js_helper.js

Issue 961513002: Flesh out dynamic invocation code (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Streamline ++ and -- in fallback case Created 5 years, 10 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
« no previous file with comments | « test/codegen/expect/dart/_interceptors.js ('k') | test/codegen/expect/dart/async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dart/_js_helper.js
diff --git a/test/codegen/expect/dart/_js_helper.js b/test/codegen/expect/dart/_js_helper.js
index dd66c74e38fee6593bbd29eebbccb39e781742c6..22955e716f76a6e3b515265bccf2803ee4a71883 100644
--- a/test/codegen/expect/dart/_js_helper.js
+++ b/test/codegen/expect/dart/_js_helper.js
@@ -3705,7 +3705,7 @@ var _js_helper;
}
// Function hasNoField: (dynamic, dynamic) → dynamic
function hasNoField(object, name) {
- return dart.throw_("Unimplemented PrefixExpression: !hasField(object, name)");
+ return dart.dunary('!', hasField(object, name));
}
// Function isJsFunction: (dynamic) → bool
function isJsFunction(o) {
« no previous file with comments | « test/codegen/expect/dart/_interceptors.js ('k') | test/codegen/expect/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698