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

Unified Diff: lib/dom/templates/html/dart2js/impl_Window.darttemplate

Issue 10891022: Update corelib/ and lib/ to use the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/dom/scripts/idlparser_test.dart ('k') | lib/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/dart2js/impl_Window.darttemplate
diff --git a/lib/dom/templates/html/dart2js/impl_Window.darttemplate b/lib/dom/templates/html/dart2js/impl_Window.darttemplate
index 77c215c3f3fc6fa51120b6e36ebff4227189a975..627f0b7b74baa056e906a6ff841ed2da121aa425 100644
--- a/lib/dom/templates/html/dart2js/impl_Window.darttemplate
+++ b/lib/dom/templates/html/dart2js/impl_Window.darttemplate
@@ -69,7 +69,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
// stub on Object.prototype and throws an exception.
try {
return thing is Location;
- } catch (var e) {
+ } catch (e) {
return false;
}
}
« no previous file with comments | « lib/dom/scripts/idlparser_test.dart ('k') | lib/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698