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

Unified Diff: test/codegen/expect/try_catch.js

Issue 1139673005: fix temps that have the same name to have different Elements (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« lib/src/codegen/js_codegen.dart ('K') | « lib/src/codegen/js_names.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/try_catch.js
diff --git a/test/codegen/expect/try_catch.js b/test/codegen/expect/try_catch.js
index 8bdd4634016b15009cb92cd01388e6a80dabfeea..199e26cbb95378d446608d069a40c52043273817 100644
--- a/test/codegen/expect/try_catch.js
+++ b/test/codegen/expect/try_catch.js
@@ -53,10 +53,10 @@ var core = dart.import(core);
function wub() {
try {
throw "on without exception parameter";
- } catch (e$) {
- if (dart.is(e$, core.String)) {
+ } catch (e) {
Jennifer Messerly 2015/05/11 23:22:01 the name here should've been a clue ... why `e$` w
+ if (dart.is(e, core.String)) {
} else
- throw e$;
+ throw e;
}
}
« lib/src/codegen/js_codegen.dart ('K') | « lib/src/codegen/js_names.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698