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

Unified Diff: utils/peg/pegparser.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/css/tokenizer_base.dart ('k') | utils/pub/yaml/deep_equals.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/peg/pegparser.dart
diff --git a/utils/peg/pegparser.dart b/utils/peg/pegparser.dart
index da1421034a3d74ecf06b655bfaaf7840e0f6878e..dd49d0aac22579cb4c31ef7b16b0799b74d7868c 100644
--- a/utils/peg/pegparser.dart
+++ b/utils/peg/pegparser.dart
@@ -781,7 +781,7 @@ class _MemoRule extends _Rule {
_match(state, pos) {
// See if we are still parsing the same input. Relies on the fact that the
// input is a string and strings are immutable.
- if (parseInstance !== state._text) {
+ if (!identical(parseInstance, state._text)) {
map = new Map<int,Object>();
parseInstance = state._text;
}
« no previous file with comments | « utils/css/tokenizer_base.dart ('k') | utils/pub/yaml/deep_equals.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698