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

Side by Side Diff: test/codegen/expect/methods.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/map_keys.js ('k') | test/codegen/expect/misc.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 methods = dart.defineLibrary(methods, {}); 1 dart.library('methods', 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 _c = Symbol('_c'); 6 let _c = Symbol('_c');
6 class A extends core.Object { 7 class A extends core.Object {
7 A() { 8 A() {
8 this[_c] = 3; 9 this[_c] = 3;
9 } 10 }
10 x() { 11 x() {
11 return 42; 12 return 42;
12 } 13 }
13 y(a) { 14 y(a) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 let g = dart.bind(a, 'x'); 73 let g = dart.bind(a, 'x');
73 let aa = new A(); 74 let aa = new A();
74 let h = dart.dload(aa, 'x'); 75 let h = dart.dload(aa, 'x');
75 } 76 }
76 dart.fn(test); 77 dart.fn(test);
77 // Exports: 78 // Exports:
78 exports.A = A; 79 exports.A = A;
79 exports.Bar = Bar; 80 exports.Bar = Bar;
80 exports.Foo = Foo; 81 exports.Foo = Foo;
81 exports.test = test; 82 exports.test = test;
82 })(methods, core); 83 });
OLDNEW
« no previous file with comments | « test/codegen/expect/map_keys.js ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698