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

Unified Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 1153503005: Make analyzer DDC warning clean. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 months 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
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 {

Powered by Google App Engine
This is Rietveld 408576698