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

Unified Diff: lib/src/codegen/js_codegen.dart

Issue 998043002: Fixes in codegen and test script (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | lib/src/utils.dart » ('j') | lib/src/utils.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/js_codegen.dart
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
index 1c70c19e778f183bf0a2e1a6ead9be4107a7bd07..2cc40c1fca4429318a19334abc865f37f837fee5 100644
--- a/lib/src/codegen/js_codegen.dart
+++ b/lib/src/codegen/js_codegen.dart
@@ -1537,7 +1537,7 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ConversionVisitor {
if (node.catchKeyword != null) {
var name = node.exceptionParameter;
if (name != null && name.name != _catchParameter) {
- body.add(js.statement('let # = #;', [_visit(name), _catchParameter]));
Jennifer Messerly 2015/03/11 20:28:54 hmmm. This is not going to have source location as
Siggi Cherem (dart-lang) 2015/03/11 23:27:22 Oh, I see.
Jennifer Messerly 2015/03/11 23:48:00 ouch, yeah, it seems like my Template.visitInterpo
+ body.add(js.statement('let # = #;', [name.name, _catchParameter]));
_catchParameter = name.name;
}
if (node.stackTraceParameter != null) {
« no previous file with comments | « no previous file | lib/src/utils.dart » ('j') | lib/src/utils.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698