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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart

Issue 848363002: Allow LetCont to bind multiple continuations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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: tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
index cde5ccc047017b1018745e250897e535644ba2f8..1243ba2d337d322edfa90d67ecccf0ec5bf6ae19 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
@@ -15,21 +15,21 @@ foo(a, [b = "b"]) => b;
bar(a, {b: "b", c: "c"}) => c;
main() {
foo(0);
- foo(0, 1);
- bar(0);
- bar(0, b: 1);
- bar(0, c: 1);
- bar(0, b: 1, c: 2);
+ foo(1, 2);
+ bar(3);
+ bar(4, b: 5);
+ bar(6, c: 7);
+ bar(8, b: 9, c: 10);
}
""",
"""
function() {
V.foo(0, "b");
- V.foo(0, 1);
- V.bar(0, "b", "c");
- V.bar(0, 1, "c");
- V.bar(0, "b", 1);
- V.bar(0, 1, 2);
+ V.foo(1, 2);
+ V.bar(3, "b", "c");
+ V.bar(4, 5, "c");
+ V.bar(6, "b", 7);
+ V.bar(8, 9, 10);
return null;
}"""),
const TestEntry(

Powered by Google App Engine
This is Rietveld 408576698