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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments 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 var temps = dart.defineLibrary(temps, {}); 1 dart.library('temps', null, /* Imports */[
2 var core = dart.import(core); 2 'dart/core'
3 (function(exports, core) { 3 ], /* Lazy imports */[
4 ], function(exports, core) {
4 'use strict'; 5 'use strict';
5 let _x = Symbol('_x'); 6 let _x = Symbol('_x');
6 let __x = Symbol('__x'); 7 let __x = Symbol('__x');
7 let _function = Symbol('_function'); 8 let _function = Symbol('_function');
8 class FormalCollision extends core.Object { 9 class FormalCollision extends core.Object {
9 FormalCollision(x, _x$, func) { 10 FormalCollision(x, _x$, func) {
10 this[_x] = x; 11 this[_x] = x;
11 this[__x] = _x$; 12 this[__x] = _x$;
12 this[_function] = func; 13 this[_function] = func;
13 } 14 }
(...skipping 23 matching lines...) Expand all
37 function main() { 38 function main() {
38 core.print(new FormalCollision(1, 2, dart.fn(x => x))); 39 core.print(new FormalCollision(1, 2, dart.fn(x => x)));
39 core.print(new OptionalArg()[_opt]); 40 core.print(new OptionalArg()[_opt]);
40 core.print(new OptionalArg.named()[_opt]); 41 core.print(new OptionalArg.named()[_opt]);
41 } 42 }
42 dart.fn(main); 43 dart.fn(main);
43 // Exports: 44 // Exports:
44 exports.FormalCollision = FormalCollision; 45 exports.FormalCollision = FormalCollision;
45 exports.OptionalArg = OptionalArg; 46 exports.OptionalArg = OptionalArg;
46 exports.main = main; 47 exports.main = main;
47 })(temps, core); 48 });
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