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

Unified Diff: utils/css/css.dart

Issue 10887023: Use new try-catch syntax in runtime/, tools/, and utils/. (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 | « utils/apidoc/mdn/extract.dart ('k') | utils/css/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/css/css.dart
diff --git a/utils/css/css.dart b/utils/css/css.dart
index a0d4e826f15d2babe1b5d5aa052e49ad749a7334..208e8ab71ab971240404cf6092be3c61fa841ae8 100644
--- a/utils/css/css.dart
+++ b/utils/css/css.dart
@@ -62,7 +62,7 @@ String cssParseAndValidateDebug(String cssExpression, CssWorld cssworld) {
Validate.template(tree.selectors, cssworld);
output = prettyTree;
}
- } catch (var e) {
+ } catch (e) {
String error = e.toString();
output = "$error\n$prettyTree";
throw e;
« no previous file with comments | « utils/apidoc/mdn/extract.dart ('k') | utils/css/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698