| 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 e1063c35726645826cbb84319739270fe8857f62..800573b2e914b585768ede62a87f86af1fa4c292 100644
|
| --- a/pkg/analyzer/lib/src/task/dart.dart
|
| +++ b/pkg/analyzer/lib/src/task/dart.dart
|
| @@ -1669,7 +1669,7 @@ class ComputeConstantDependenciesTask extends ConstantEvaluationAnalysisTask {
|
| CompilationUnitElementImpl unit = target
|
| .getAncestor((Element element) => element is CompilationUnitElement);
|
| librarySource = unit.librarySource;
|
| - } else if (target is ConstantEvaluationTarget_Annotation) {
|
| + } else if (target is ElementAnnotationImpl) {
|
| librarySource = target.librarySource;
|
| } else {
|
| throw new AnalysisException(
|
|
|