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

Side by Side Diff: test/codegen/expect/misc.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 misc = dart.defineLibrary(misc, {}); 1 dart.defineLibrary('misc');
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 class _Uninitialized extends core.Object { 5 class _Uninitialized extends core.Object {
6 _Uninitialized() { 6 _Uninitialized() {
7 } 7 }
8 } 8 }
9 dart.setSignature(_Uninitialized, { 9 dart.setSignature(_Uninitialized, {
10 constructors: () => ({_Uninitialized: [_Uninitialized, []]}) 10 constructors: () => ({_Uninitialized: [_Uninitialized, []]})
11 }); 11 });
12 let UNINITIALIZED = dart.const(new _Uninitialized()); 12 let UNINITIALIZED = dart.const(new _Uninitialized());
(...skipping 15 matching lines...) Expand all
28 core.print(dart.equals(x, Generic)); 28 core.print(dart.equals(x, Generic));
29 core.print(new (Generic$(core.int))().type); 29 core.print(new (Generic$(core.int))().type);
30 } 30 }
31 dart.fn(main); 31 dart.fn(main);
32 // Exports: 32 // Exports:
33 exports.UNINITIALIZED = UNINITIALIZED; 33 exports.UNINITIALIZED = UNINITIALIZED;
34 exports.Generic$ = Generic$; 34 exports.Generic$ = Generic$;
35 exports.Generic = Generic; 35 exports.Generic = Generic;
36 exports.main = main; 36 exports.main = main;
37 })(misc, core); 37 })(misc, core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698