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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.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 | « sdk/lib/_internal/compiler/implementation/ssa/validate.dart ('k') | sdk/lib/collection/arrays.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
index 88d9fea4177f1d773af631b0f4c864a10ba34500..a0e3382fd9420c84e5b01c136c5202fe3fb677ae 100644
--- a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
@@ -1136,7 +1136,7 @@ class TypeInferrerVisitor extends ResolvedVisitor<ConcreteType> {
ConcreteType visitReturn(Return node) {
final expression = node.expression;
- return (expression === null)
+ return (expression == null)
? new ConcreteType.singleton(const NullBaseType())
: analyze(expression);
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/validate.dart ('k') | sdk/lib/collection/arrays.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698