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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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/try_catch.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('temps', null, /* Imports */[ 1 dart_library.library('temps', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 ], function(exports, core) { 5 ], function(exports, dart, core) {
5 'use strict'; 6 'use strict';
7 let dartx = dart.dartx;
6 let _x = Symbol('_x'); 8 let _x = Symbol('_x');
7 let __x = Symbol('__x'); 9 let __x = Symbol('__x');
8 let _function = Symbol('_function'); 10 let _function = Symbol('_function');
9 class FormalCollision extends core.Object { 11 class FormalCollision extends core.Object {
10 FormalCollision(x, _x$, func) { 12 FormalCollision(x, _x$, func) {
11 this[_x] = x; 13 this[_x] = x;
12 this[__x] = _x$; 14 this[__x] = _x$;
13 this[_function] = func; 15 this[_function] = func;
14 } 16 }
15 } 17 }
(...skipping 23 matching lines...) Expand all
39 core.print(new FormalCollision(1, 2, dart.fn(x => x))); 41 core.print(new FormalCollision(1, 2, dart.fn(x => x)));
40 core.print(new OptionalArg()[_opt]); 42 core.print(new OptionalArg()[_opt]);
41 core.print(new OptionalArg.named()[_opt]); 43 core.print(new OptionalArg.named()[_opt]);
42 } 44 }
43 dart.fn(main); 45 dart.fn(main);
44 // Exports: 46 // Exports:
45 exports.FormalCollision = FormalCollision; 47 exports.FormalCollision = FormalCollision;
46 exports.OptionalArg = OptionalArg; 48 exports.OptionalArg = OptionalArg;
47 exports.main = main; 49 exports.main = main;
48 }); 50 });
OLDNEW
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/expect/try_catch.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698