| Index: pkg/analyzer/lib/src/task/dart.dart
|
| diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
|
| index 13e7b89620c4ff97579f37ebd22240d46fe09525..3309b544998eb80d03daa99744007023d7ba2b7b 100644
|
| --- a/pkg/analyzer/lib/src/task/dart.dart
|
| +++ b/pkg/analyzer/lib/src/task/dart.dart
|
| @@ -2633,6 +2633,14 @@ class DartDelta extends Delta {
|
| return true;
|
| }
|
| }
|
| + for (String name in references.names) {
|
| + ClassElementDelta classDelta = changedClasses[name];
|
| + if (classDelta != null && classDelta.hasAnnotationChanges) {
|
| + _log(() => '$refLibrary hints/verify errors are affected because '
|
| + '$name has a class delta with annotation changes');
|
| + return true;
|
| + }
|
| + }
|
| return false;
|
| }
|
|
|
| @@ -2665,17 +2673,6 @@ class DartDelta extends Delta {
|
| }
|
| }
|
| }
|
| - // TODO(scheglov) We don't need to invalidate resolution.
|
| - // We could just invalidate errors if we moved reporting of
|
| - // HintCode.DEPRECATED_MEMBER_USE from resolver to verifier.
|
| - for (String name in references.names) {
|
| - ClassElementDelta classDelta = changedClasses[name];
|
| - if (classDelta != null && classDelta.hasAnnotationChanges) {
|
| - _log(() => '$refLibrary is affected because '
|
| - '$name has a class delta with annotation changes');
|
| - return true;
|
| - }
|
| - }
|
| return false;
|
| }
|
|
|
|
|