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

Side by Side Diff: test/codegen/expect/methods.js

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase and format Created 5 years, 7 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.map ('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; 1 var methods = dart.defineLibrary(methods, {});
2 (function(exports) { 2 var core = dart.import(core);
3 (function(exports, core) {
3 'use strict'; 4 'use strict';
4 let _c = Symbol('_c'); 5 let _c = Symbol('_c');
5 class A extends core.Object { 6 class A extends core.Object {
6 A() { 7 A() {
7 this[_c] = 3; 8 this[_c] = 3;
8 } 9 }
9 x() { 10 x() {
10 return 42; 11 return 42;
11 } 12 }
12 y(a) { 13 y(a) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Function test: () → dynamic 55 // Function test: () → dynamic
55 function test() { 56 function test() {
56 let f = new Foo(); 57 let f = new Foo();
57 dart.dcall(f.bar, "Bar's call method!"); 58 dart.dcall(f.bar, "Bar's call method!");
58 } 59 }
59 // Exports: 60 // Exports:
60 exports.A = A; 61 exports.A = A;
61 exports.Bar = Bar; 62 exports.Bar = Bar;
62 exports.Foo = Foo; 63 exports.Foo = Foo;
63 exports.test = test; 64 exports.test = test;
64 })(methods || (methods = {})); 65 })(methods, core);
OLDNEW
« no previous file with comments | « test/codegen/expect/map_keys.js.map ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698