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

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

Issue 1042003002: fix list literal initialization call fix typeof calls for primitive JS types add dart/collection.js… (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 aac774e42f61f3d0b041c43af5b56c0c2d5bfb7d..f6322f8d921e4df4d15d3c817e9c1cf2b2319ca3 100644
--- a/test/codegen/expect/cascade.js
+++ b/test/codegen/expect/cascade.js
@@ -50,14 +50,14 @@ var cascade;
}
// Function test_VariableDeclaration_single: () → void
function test_VariableDeclaration_single() {
- let a = new List.from([]);
+ let a = new core.List.from([]);
dart.dput(a, 'length', 2);
a.add(42);
core.print(a);
}
// Function test_VariableDeclaration_last: () → void
function test_VariableDeclaration_last() {
- let a = 42, b = new List.from([]);
+ let a = 42, b = new core.List.from([]);
dart.dput(b, 'length', 2);
b.add(a);
core.print(b);
@@ -68,7 +68,7 @@ var cascade;
_.length = 2;
_.add(3);
return _;
- })(new List.from([])), b = 2;
+ })(new core.List.from([])), b = 2;
core.print(a);
}
// Exports:

Powered by Google App Engine
This is Rietveld 408576698