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

Unified Diff: utils/template/parser.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month 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/pub/yaml/yaml_map.dart ('k') | utils/template/tokenizer_base.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « utils/pub/yaml/yaml_map.dart ('k') | utils/template/tokenizer_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698