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

Unified Diff: test/codegen/expect/dart/math.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/core.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dart/math.js
diff --git a/test/codegen/expect/dart/math.js b/test/codegen/expect/dart/math.js
index 7a9dfcaf87109f54aac66e3f2f89556ab35e9fa8..b792a17b2b6f1161d0e2de3669158cbb6c5d7eab 100644
--- a/test/codegen/expect/dart/math.js
+++ b/test/codegen/expect/dart/math.js
@@ -360,8 +360,8 @@ var math;
Rectangle(left, top, width, height) {
this.left = left;
this.top = top;
- this.width = dart.as(width['<'](0) ? dart.notNull(dart.throw_("Unimplemented PrefixExpression: -width")) * 0 : width, T);
- this.height = dart.as(height['<'](0) ? dart.notNull(dart.throw_("Unimplemented PrefixExpression: -height")) * 0 : height, T);
+ this.width = dart.as(width['<'](0) ? dart.notNull(width['unary-']()) * 0 : width, T);
+ this.height = dart.as(height['<'](0) ? dart.notNull(height['unary-']()) * 0 : height, T);
super._RectangleBase();
}
Rectangle$fromPoints(a, b) {
« no previous file with comments | « test/codegen/expect/dart/core.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698