Index: utils/template/parser.dart |
diff --git a/utils/template/parser.dart b/utils/template/parser.dart |
index 9d22b6bc2ec8240f50903674587993525730fe15..120e2692e4734a6cbe2a15f378056bc94b2269d1 100644 |
--- a/utils/template/parser.dart |
+++ b/utils/template/parser.dart |
@@ -152,7 +152,7 @@ class Parser { |
} |
void _error(String message, [SourceSpan location=null]) { |
- if (location === null) { |
+ if (location == null) { |
location = _peekToken.span; |
} |
@@ -166,7 +166,7 @@ class Parser { |
} |
void _warning(String message, [SourceSpan location=null]) { |
- if (location === null) { |
+ if (location == null) { |
location = _peekToken.span; |
} |