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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 = dart.defineLibrary(try_catch, {}); 1 dart.defineLibrary('try_catch');
2 var core = dart.import(core); 2 dart.import('core');
3 (function(exports, core) { 3 (function(exports, core) {
4 'use strict'; 4 'use strict';
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 dart.fn(main); 70 dart.fn(main);
71 // Exports: 71 // Exports:
72 exports.foo = foo; 72 exports.foo = foo;
73 exports.bar = bar; 73 exports.bar = bar;
74 exports.baz = baz; 74 exports.baz = baz;
75 exports.qux = qux; 75 exports.qux = qux;
76 exports.wub = wub; 76 exports.wub = wub;
77 exports.main = main; 77 exports.main = main;
78 })(try_catch, core); 78 })(try_catch, core);
OLDNEW
« test/codegen/expect/sunflower/dom.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