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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.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/dart_backend/placeholder_collector.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
index 34d36bc30cdc5a0230df1c4578d6233fe4fbf324..b31e471a9cc33d90d851f047501a0bce8f156906 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart
@@ -75,7 +75,7 @@ class SendVisitor extends ResolvedVisitor {
visitGetterSend(Send node) {
final element = elements[node];
- // element === null means dynamic property access.
+ // element == null means dynamic property access.
if (element == null) {
collector.tryMakeMemberPlaceholder(node.selector);
} else if (element.isErroneous()) {
@@ -211,7 +211,7 @@ class PlaceholderCollector extends Visitor {
VariableDefinitions definitions = elementNode;
for (Node definition in definitions.definitions) {
final definitionElement = treeElements[definition];
- // definitionElement === null if variable is actually unused.
+ // definitionElement == null if variable is actually unused.
if (definitionElement == null) continue;
collectFieldDeclarationPlaceholders(definitionElement, definition);
}

Powered by Google App Engine
This is Rietveld 408576698