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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/partial_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
Index: sdk/lib/_internal/compiler/implementation/scanner/partial_parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/partial_parser.dart b/sdk/lib/_internal/compiler/implementation/scanner/partial_parser.dart
index 7516e6ca517aa03c634ea858be870f7dc4e8271a..02f409aac925223384afdd0fd28a9109d0810ee2 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/partial_parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/partial_parser.dart
@@ -99,7 +99,7 @@ class PartialParser extends Parser {
} else if (identical(value, '=>')) {
token = parseExpression(token.next);
expectSemicolon(token);
- } else if (value === '=') {
+ } else if (value == '=') {
token = parseRedirectingFactoryBody(token);
expectSemicolon(token);
} else {

Powered by Google App Engine
This is Rietveld 408576698