Index: pkg/analyzer/lib/src/dart/constant/utilities.dart |
diff --git a/pkg/analyzer/lib/src/dart/constant/utilities.dart b/pkg/analyzer/lib/src/dart/constant/utilities.dart |
index 62b3ec8d501c7c74b81fa691719e32d92205c112..90c8a38482fa175ab1b68af9e1992ee89679fa08 100644 |
--- a/pkg/analyzer/lib/src/dart/constant/utilities.dart |
+++ b/pkg/analyzer/lib/src/dart/constant/utilities.dart |
@@ -14,8 +14,6 @@ import 'package:analyzer/src/dart/element/element.dart'; |
import 'package:analyzer/src/dart/element/handle.dart' |
show ConstructorElementHandle; |
import 'package:analyzer/src/dart/element/member.dart'; |
-import 'package:analyzer/src/generated/engine.dart'; |
-import 'package:analyzer/src/generated/source.dart' show Source; |
import 'package:analyzer/src/task/dart.dart'; |
ConstructorElementImpl getConstructorImpl(ConstructorElement constructor) { |
@@ -156,10 +154,6 @@ class ConstantExpressionsDependenciesFinder extends RecursiveAstVisitor { |
* those compilation units. |
*/ |
class ConstantFinder extends RecursiveAstVisitor<Object> { |
- final AnalysisContext context; |
- final Source source; |
- final Source librarySource; |
- |
/** |
* The elements and AST nodes whose constant values need to be computed. |
*/ |
@@ -172,8 +166,6 @@ class ConstantFinder extends RecursiveAstVisitor<Object> { |
*/ |
bool treatFinalInstanceVarAsConst = false; |
- ConstantFinder(this.context, this.source, this.librarySource); |
- |
@override |
Object visitAnnotation(Annotation node) { |
super.visitAnnotation(node); |