Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
index 1ebc7109cef5b0c72cf723b88ccd8b9772ae05cf..b39441181dbaa2a1b0f3a4305f161f9603c53e03 100644 |
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
@@ -1472,7 +1472,7 @@ class ResolverVisitor extends CommonResolverVisitor<Element> { |
enclosingElement); |
Scope oldScope = scope; // The scope is modified by [setupFunction]. |
setupFunction(node, function); |
- defineElement(node, function, doAddToScope: node.name !== null); |
+ defineElement(node, function, doAddToScope: node.name != null); |
Element previousEnclosingElement = enclosingElement; |
enclosingElement = function; |