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

Side by Side Diff: test/codegen/expect/names.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/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; 1 var names = dart.defineLibrary(names, {});
2 (function(exports) { 2 var core = dart.import(core);
3 (function(exports, core) {
3 'use strict'; 4 'use strict';
4 exports.exports = 42; 5 exports.exports = 42;
5 let _foo$ = Symbol('_foo'); 6 let _foo$ = Symbol('_foo');
6 class Foo extends core.Object { 7 class Foo extends core.Object {
7 [_foo$]() { 8 [_foo$]() {
8 return 123; 9 return 123;
9 } 10 }
10 } 11 }
11 // Function _foo: () → dynamic 12 // Function _foo: () → dynamic
12 function _foo() { 13 function _foo() {
(...skipping 27 matching lines...) Expand all
40 core.print(new Frame.caller([1, 2, 3])); 41 core.print(new Frame.caller([1, 2, 3]));
41 let eval$ = dart.bind(Frame, 'callee'); 42 let eval$ = dart.bind(Frame, 'callee');
42 core.print(eval$); 43 core.print(eval$);
43 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); 44 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments));
44 } 45 }
45 // Exports: 46 // Exports:
46 exports.Foo = Foo; 47 exports.Foo = Foo;
47 exports.Frame = Frame; 48 exports.Frame = Frame;
48 exports.Frame2 = Frame2; 49 exports.Frame2 = Frame2;
49 exports.main = main; 50 exports.main = main;
50 })(names || (names = {})); 51 })(names, core);
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