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

Unified Diff: test/codegen/expect/cascade.js

Issue 1088943006: implement tear offs (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: test/codegen/expect/cascade.js
diff --git a/test/codegen/expect/cascade.js b/test/codegen/expect/cascade.js
index f2a239d6a9d3e26119ab737878bc240ce6aa6c50..7a6093be6d2ef1121988cbd2eed2e466bc2120d9 100644
--- a/test/codegen/expect/cascade.js
+++ b/test/codegen/expect/cascade.js
@@ -14,8 +14,8 @@ var cascade;
a = null;
};
let _ = a;
- dart.dsend(_, 'x');
- dart.dsend(_, 'x');
+ dart.dcall(_.x);
+ dart.dcall(_.x);
core.print(a);
}
// Function test_closure_without_mutate: () → void
@@ -24,8 +24,8 @@ var cascade;
a.x = () => {
core.print(a);
};
- dart.dsend(a, 'x');
- dart.dsend(a, 'x');
+ dart.dcall(a.x);
+ dart.dcall(a.x);
core.print(a);
}
// Function test_mutate_inside_cascade: () → void

Powered by Google App Engine
This is Rietveld 408576698