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

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: 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
OLDNEW
1 var temps = dart.defineLibrary(temps, {}); 1 dart.defineLibrary('temps');
2 var core = dart.import(core); 2 dart.import('core');
3 (function(exports, core) { 3 (function(exports, core) {
4 'use strict'; 4 'use strict';
5 let _x = Symbol('_x'); 5 let _x = Symbol('_x');
6 let __x = Symbol('__x'); 6 let __x = Symbol('__x');
7 let _function = Symbol('_function'); 7 let _function = Symbol('_function');
8 class FormalCollision extends core.Object { 8 class FormalCollision extends core.Object {
9 FormalCollision(x, _x$, func) { 9 FormalCollision(x, _x$, func) {
10 this[_x] = x; 10 this[_x] = x;
11 this[__x] = _x$; 11 this[__x] = _x$;
12 this[_function] = func; 12 this[_function] = func;
(...skipping 25 matching lines...) Expand all
38 core.print(new FormalCollision(1, 2, dart.fn(x => x))); 38 core.print(new FormalCollision(1, 2, dart.fn(x => x)));
39 core.print(new OptionalArg()[_opt]); 39 core.print(new OptionalArg()[_opt]);
40 core.print(new OptionalArg.named()[_opt]); 40 core.print(new OptionalArg.named()[_opt]);
41 } 41 }
42 dart.fn(main); 42 dart.fn(main);
43 // Exports: 43 // Exports:
44 exports.FormalCollision = FormalCollision; 44 exports.FormalCollision = FormalCollision;
45 exports.OptionalArg = OptionalArg; 45 exports.OptionalArg = OptionalArg;
46 exports.main = main; 46 exports.main = main;
47 })(temps, core); 47 })(temps, core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698