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

Side by Side Diff: test/codegen/expect/extensions.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/expect/expect.js ('k') | test/codegen/expect/fieldtest.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('extensions', null, /* Imports */[ 1 dart_library.library('extensions', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
3 'dart/collection', 3 'dart/collection',
4 'dart/core' 4 'dart/core'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, collection, core) { 6 ], function(exports, dart, collection, core) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 class StringIterable extends collection.IterableBase$(core.String) { 9 class StringIterable extends collection.IterableBase$(core.String) {
10 StringIterable() { 10 StringIterable() {
11 this.iterator = null; 11 this.iterator = null;
12 super.IterableBase(); 12 super.IterableBase();
13 } 13 }
14 } 14 }
15 dart.virtualField(StringIterable, 'iterator'); 15 dart.virtualField(StringIterable, 'iterator');
16 dart.setSignature(StringIterable, {}); 16 dart.setSignature(StringIterable, {});
17 dart.defineExtensionMembers(StringIterable, ['iterator']); 17 dart.defineExtensionMembers(StringIterable, ['iterator']);
18 function main() { 18 function main() {
19 return new StringIterable(); 19 return new StringIterable();
20 } 20 }
21 dart.fn(main); 21 dart.fn(main);
22 // Exports: 22 // Exports:
23 exports.StringIterable = StringIterable; 23 exports.StringIterable = StringIterable;
24 exports.main = main; 24 exports.main = main;
25 }); 25 });
OLDNEW
« no previous file with comments | « test/codegen/expect/expect/expect.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698