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

Side by Side Diff: test/codegen/expect/try_catch.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: fix core.Symbol reference 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
OLDNEW
1 var try_catch; 1 var try_catch, core;
2 (function(exports) { 2 (function(exports, core) {
3 'use strict'; 3 'use strict';
4 // Function foo: () → dynamic 4 // Function foo: () → dynamic
5 function foo() { 5 function foo() {
6 try { 6 try {
7 throw "hi there"; 7 throw "hi there";
8 } catch (e$) { 8 } catch (e$) {
9 if (dart.is(e$, core.String)) { 9 if (dart.is(e$, core.String)) {
10 let e = e$; 10 let e = e$;
11 let t = dart.stackTrace(e); 11 let t = dart.stackTrace(e);
12 } else { 12 } else {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 qux(); 67 qux();
68 wub(); 68 wub();
69 } 69 }
70 // Exports: 70 // Exports:
71 exports.foo = foo; 71 exports.foo = foo;
72 exports.bar = bar; 72 exports.bar = bar;
73 exports.baz = baz; 73 exports.baz = baz;
74 exports.qux = qux; 74 exports.qux = qux;
75 exports.wub = wub; 75 exports.wub = wub;
76 exports.main = main; 76 exports.main = main;
77 })(try_catch || (try_catch = {})); 77 })(try_catch || (try_catch = {}), core);
OLDNEW
« lib/runtime/dart/_interceptors.js ('K') | « test/codegen/expect/temps.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698