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

Side by Side Diff: test/codegen/expect/syncstar_syntax.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/sunflower/sunflower.js ('k') | test/codegen/expect/temps.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('syncstar_syntax', null, /* Imports */[ 1 dart_library.library('syncstar_syntax', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
3 'dart/core', 3 'dart/core',
4 'expect/expect' 4 'expect/expect'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, core, expect) { 6 ], function(exports, dart, core, expect) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 function foo() { 9 function foo() {
10 return dart.syncStar(function*() { 10 return dart.syncStar(function*() {
11 yield 1; 11 yield 1;
12 yield* dart.list([2, 3], core.int); 12 yield* dart.list([2, 3], core.int);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 expect.Expect.listEquals([1, 2, 3], new Class().bar()[dartx.toList]()); 44 expect.Expect.listEquals([1, 2, 3], new Class().bar()[dartx.toList]());
45 expect.Expect.listEquals([1, 2, 3], Class.baz()[dartx.toList]()); 45 expect.Expect.listEquals([1, 2, 3], Class.baz()[dartx.toList]());
46 expect.Expect.listEquals([1, 2, 3], qux()[dartx.toList]()); 46 expect.Expect.listEquals([1, 2, 3], qux()[dartx.toList]());
47 } 47 }
48 dart.fn(main); 48 dart.fn(main);
49 // Exports: 49 // Exports:
50 exports.foo = foo; 50 exports.foo = foo;
51 exports.Class = Class; 51 exports.Class = Class;
52 exports.main = main; 52 exports.main = main;
53 }); 53 });
OLDNEW
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/expect/temps.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698