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

Side by Side Diff: test/codegen/expect/names.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 names = dart.defineLibrary(names, {}); 1 dart.defineLibrary('names');
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 exports.exports = 42; 5 exports.exports = 42;
6 let _foo$ = Symbol('_foo'); 6 let _foo$ = Symbol('_foo');
7 class Foo extends core.Object { 7 class Foo extends core.Object {
8 [_foo$]() { 8 [_foo$]() {
9 return 123; 9 return 123;
10 } 10 }
11 } 11 }
12 dart.setSignature(Foo, { 12 dart.setSignature(Foo, {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 core.print(eval$); 50 core.print(eval$);
51 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); 51 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments));
52 } 52 }
53 dart.fn(main); 53 dart.fn(main);
54 // Exports: 54 // Exports:
55 exports.Foo = Foo; 55 exports.Foo = Foo;
56 exports.Frame = Frame; 56 exports.Frame = Frame;
57 exports.Frame2 = Frame2; 57 exports.Frame2 = Frame2;
58 exports.main = main; 58 exports.main = main;
59 })(names, core); 59 })(names, core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698