Index: pkg/analyzer/lib/src/generated/resolver.dart |
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart |
index a32a518326ccc19272b511eece4494ed778cacf9..03452f455ec2b47fcbcc0f9c158324328b71f2b8 100644 |
--- a/pkg/analyzer/lib/src/generated/resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/resolver.dart |
@@ -11745,6 +11745,8 @@ class TypeResolverVisitor extends ScopedVisitor { |
super.visitClassDeclaration(node); |
ClassElementImpl classElement = _getClassElement(node.name); |
if (classElement != null) { |
+ // Clear this flag, as we just invalidated any inferred member types. |
Leaf
2015/12/11 00:09:25
We've also invalidated anything that extends/imple
Jennifer Messerly
2015/12/11 00:15:51
The invariant here is we'll clear the flag at basi
|
+ classElement.hasBeenInferred = false; |
classElement.hasReferenceToSuper = _hasReferenceToSuper; |
} |
return null; |