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 b3b6594e17c4f6e16b3df4a90539863b729e108f..16b6afa974ed12a0bd360f05da11ca55ff109563 100644 |
--- a/pkg/analyzer/lib/src/generated/resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/resolver.dart |
@@ -5156,8 +5156,8 @@ class ImplicitConstructorBuilder extends SimpleElementVisitor { |
ImplicitConstructorBuilder(this.errorListener, this._callback); |
@override |
- void visitClassElement(ClassElementImpl classElement) { |
- classElement.mixinErrorsReported = false; |
+ void visitClassElement(ClassElement classElement) { |
+ (classElement as ClassElementImpl).mixinErrorsReported = false; |
if (classElement.isTypedef) { |
_visitClassTypeAlias(classElement); |
} else { |