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

Side by Side Diff: test/codegen/expect/opassign.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/names.js ('k') | test/codegen/expect/sunflower/dom.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 opassign; 1 var opassign = dart.defineLibrary(opassign, {});
2 (function(exports) { 2 var core = dart.import(core);
3 (function(exports, core) {
3 'use strict'; 4 'use strict';
4 dart.copyProperties(exports, { 5 dart.copyProperties(exports, {
5 get index() { 6 get index() {
6 core.print('called "index" getter'); 7 core.print('called "index" getter');
7 return 0; 8 return 0;
8 } 9 }
9 }); 10 });
10 dart.defineLazyProperties(exports, { 11 dart.defineLazyProperties(exports, {
11 get _foo() { 12 get _foo() {
12 return new Foo(); 13 return new Foo();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 let i$ = exports.index; 47 let i$ = exports.index;
47 f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index))); 48 f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index)));
48 } 49 }
49 // Function forcePostfix: (dynamic) → dynamic 50 // Function forcePostfix: (dynamic) → dynamic
50 function forcePostfix(x) { 51 function forcePostfix(x) {
51 } 52 }
52 // Exports: 53 // Exports:
53 exports.Foo = Foo; 54 exports.Foo = Foo;
54 exports.main = main; 55 exports.main = main;
55 exports.forcePostfix = forcePostfix; 56 exports.forcePostfix = forcePostfix;
56 })(opassign || (opassign = {})); 57 })(opassign, core);
OLDNEW
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698