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

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: 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/temps.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var try_catch; 1 var try_catch = dart.defineLibrary(try_catch, {});
2 (function(exports) { 2 var core = dart.import(core);
3 (function(exports, core) {
3 'use strict'; 4 'use strict';
4 // Function foo: () → dynamic 5 // Function foo: () → dynamic
5 function foo() { 6 function foo() {
6 try { 7 try {
7 throw "hi there"; 8 throw "hi there";
8 } catch (e$) { 9 } catch (e$) {
9 if (dart.is(e$, core.String)) { 10 if (dart.is(e$, core.String)) {
10 let e = e$; 11 let e = e$;
11 let t = dart.stackTrace(e); 12 let t = dart.stackTrace(e);
12 } else { 13 } else {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 qux(); 68 qux();
68 wub(); 69 wub();
69 } 70 }
70 // Exports: 71 // Exports:
71 exports.foo = foo; 72 exports.foo = foo;
72 exports.bar = bar; 73 exports.bar = bar;
73 exports.baz = baz; 74 exports.baz = baz;
74 exports.qux = qux; 75 exports.qux = qux;
75 exports.wub = wub; 76 exports.wub = wub;
76 exports.main = main; 77 exports.main = main;
77 })(try_catch || (try_catch = {})); 78 })(try_catch, core);
OLDNEW
« no previous file with comments | « test/codegen/expect/temps.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698