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); |
} |