We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b40e9 commit 440b068Copy full SHA for 440b068
pkg/analyzer/lib/src/dart/constant/evaluation.dart
@@ -80,11 +80,6 @@ class ConstantEvaluationEngine {
80
81
/// Compute the constant value associated with the given [constant].
82
void computeConstantValue(ConstantEvaluationTarget constant) {
83
- if (constant is FragmentImpl) {
84
- var element = constant as FragmentImpl;
85
- constant = element.declaration as ConstantEvaluationTarget;
86
- }
87
-
88
var libraryFragment = constant.libraryFragment!;
89
var library = libraryFragment.element;
90
if (constant is FormalParameterElementImpl) {
0 commit comments