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

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

Issue 764593002: Invoking constructors in js cps (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years, 1 month 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 | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/js_backend_cps_ir_basic.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_basic.dart b/tests/compiler/dart2js/js_backend_cps_ir_basic.dart
index 3f60d79c7987326440e78ef22c145497808a8bc3..8eb401bd3cbb96c76d2a1442edf71e69c64ae7b7 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_basic.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_basic.dart
@@ -74,4 +74,14 @@ main() { return foo(); }
function() {
return null;
}"""),
+const TestEntry("""
+main() {
+ print(new Set());
+ print(new Set.from([1, 2, 3]));
+}""", r"""
+function() {
+ P.print(P.Set_Set());
+ P.print(P.Set_Set$from([1, 2, 3]));
+ return null;
+}"""),
];
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698