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

Side by Side Diff: test/codegen/expect/map_keys.js

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 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 unified diff | Download patch
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('map_keys', null, /* Imports */[ 1 dart_library.library('map_keys', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
3 'dart/core', 3 'dart/core',
4 'dart/math' 4 'dart/math'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, core, math) { 6 ], function(exports, dart, core, math) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 function main() { 9 function main() {
10 core.print(dart.map({'1': 2, '3': 4, '5': 6})); 10 core.print(dart.map({'1': 2, '3': 4, '5': 6}));
11 core.print(dart.map([1, 2, 3, 4, 5, 6])); 11 core.print(dart.map([1, 2, 3, 4, 5, 6]));
12 core.print(dart.map({'1': 2, [`${dart.notNull(math.Random.new().nextInt(2)) + 2}`]: 4, '5': 6})); 12 core.print(dart.map({'1': 2, [`${dart.notNull(math.Random.new().nextInt(2)) + 2}`]: 4, '5': 6}));
13 let x = '3'; 13 let x = '3';
14 core.print(dart.map(['1', 2, x, 4, '5', 6])); 14 core.print(dart.map(['1', 2, x, 4, '5', 6]));
15 core.print(dart.map(['1', 2, null, 4, '5', 6])); 15 core.print(dart.map(['1', 2, null, 4, '5', 6]));
16 } 16 }
17 dart.fn(main); 17 dart.fn(main);
18 // Exports: 18 // Exports:
19 exports.main = main; 19 exports.main = main;
20 }); 20 });
21 //# sourceMappingURL=map_keys.js.map 21 //# sourceMappingURL=map_keys.js.map
OLDNEW
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698