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

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

Issue 961513002: Flesh out dynamic invocation code (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix ++ and -- 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
Index: test/codegen/expect/dart/convert.js
diff --git a/test/codegen/expect/dart/convert.js b/test/codegen/expect/dart/convert.js
index ebf09215245205e67e237dcd7fb0a4a25a84baaf..1f9cfaf5ca6d72d3cc7070364efae1e5279378f1 100644
--- a/test/codegen/expect/dart/convert.js
+++ b/test/codegen/expect/dart/convert.js
@@ -1189,7 +1189,7 @@ var convert;
}
writeJsonValue(object) {
if (dart.is(object, core.num)) {
- if (dart.throw_("Unimplemented PrefixExpression: !object.isFinite"))
+ if (dart.dunary('!', dart.dload(object, 'isFinite')))
return false;
this.writeNumber(dart.as(object, core.num));
return true;

Powered by Google App Engine
This is Rietveld 408576698