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

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: 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/misc.js ('k') | test/codegen/expect/opassign.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 names = dart.defineLibrary(names, {}); 1 dart.library('names', 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 exports.exports = 42; 6 exports.exports = 42;
6 let _foo$ = Symbol('_foo'); 7 let _foo$ = Symbol('_foo');
7 class Foo extends core.Object { 8 class Foo extends core.Object {
8 [_foo$]() { 9 [_foo$]() {
9 return 123; 10 return 123;
10 } 11 }
11 } 12 }
12 dart.setSignature(Foo, { 13 dart.setSignature(Foo, {
13 methods: () => ({[_foo$]: [core.Object, []]}) 14 methods: () => ({[_foo$]: [core.Object, []]})
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 let eval$ = Frame.callee; 50 let eval$ = Frame.callee;
50 core.print(eval$); 51 core.print(eval$);
51 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); 52 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments));
52 } 53 }
53 dart.fn(main); 54 dart.fn(main);
54 // Exports: 55 // Exports:
55 exports.Foo = Foo; 56 exports.Foo = Foo;
56 exports.Frame = Frame; 57 exports.Frame = Frame;
57 exports.Frame2 = Frame2; 58 exports.Frame2 = Frame2;
58 exports.main = main; 59 exports.main = main;
59 })(names, core); 60 });
OLDNEW
« no previous file with comments | « test/codegen/expect/misc.js ('k') | test/codegen/expect/opassign.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698