Index: utils/template/parser.dart |
diff --git a/utils/template/parser.dart b/utils/template/parser.dart |
index 7b36704e82d989d6c32cd78c42d066a99ef8dc48..b9b27107303e428ff1c6d2b496b44f31ff3b5275 100644 |
--- a/utils/template/parser.dart |
+++ b/utils/template/parser.dart |
@@ -145,7 +145,7 @@ class Parser { |
var message; |
try { |
message = 'expected $expected, but found $tok'; |
- } catch (final e) { |
+ } catch (e) { |
message = 'parsing error expected $expected'; |
} |
_error(message, tok.span); |
@@ -412,7 +412,7 @@ class Parser { |
lastCSSIndexParsed = lastParsedChar; |
return stylesheet; |
- } catch (final cssParseException) { |
+ } catch (cssParseException) { |
// TODO(terry): Need SourceSpan from CSS parser to pass onto _error. |
_error("Unexcepted CSS error: ${cssParseException.toString()}"); |
} |