@@ -2336,7 +2336,7 @@ abstract class ConstVariableElement
2336
2336
* If this element is resynthesized from the summary, return the unlinked
2337
2337
* initializer, otherwise return `null` .
2338
2338
*/
2339
- UnlinkedConst get _unlinkedConst;
2339
+ UnlinkedExpr get _unlinkedConst;
2340
2340
2341
2341
/**
2342
2342
* Return a representation of the value of this variable, forcing the value
@@ -3129,7 +3129,7 @@ abstract class ElementImpl implements Element {
3129
3129
* Return annotations for the given [unlinkedConsts] in the [unit] .
3130
3130
*/
3131
3131
List <ElementAnnotation > _buildAnnotations (
3132
- CompilationUnitElementImpl unit, List <UnlinkedConst > unlinkedConsts) {
3132
+ CompilationUnitElementImpl unit, List <UnlinkedExpr > unlinkedConsts) {
3133
3133
int length = unlinkedConsts.length;
3134
3134
if (length != 0 ) {
3135
3135
List <ElementAnnotation > annotations = new List <ElementAnnotation >(length);
@@ -6811,7 +6811,7 @@ abstract class NonParameterVariableElementImpl extends VariableElementImpl {
6811
6811
/**
6812
6812
* Subclasses need this getter, see [ConstVariableElement._unlinkedConst] .
6813
6813
*/
6814
- UnlinkedConst get _unlinkedConst => _unlinkedVariable? .initializer? .bodyExpr;
6814
+ UnlinkedExpr get _unlinkedConst => _unlinkedVariable? .initializer? .bodyExpr;
6815
6815
}
6816
6816
6817
6817
/**
@@ -7178,7 +7178,7 @@ class ParameterElementImpl extends VariableElementImpl
7178
7178
/**
7179
7179
* Subclasses need this getter, see [ConstVariableElement._unlinkedConst] .
7180
7180
*/
7181
- UnlinkedConst get _unlinkedConst => _unlinkedParam? .initializer? .bodyExpr;
7181
+ UnlinkedExpr get _unlinkedConst => _unlinkedParam? .initializer? .bodyExpr;
7182
7182
7183
7183
@override
7184
7184
accept (ElementVisitor visitor) => visitor.visitParameterElement (this );
@@ -7760,14 +7760,14 @@ abstract class PropertyInducingElementImpl
7760
7760
*/
7761
7761
abstract class ResynthesizerContext {
7762
7762
/**
7763
- * Build [ElementAnnotationImpl] for the given [UnlinkedConst ] .
7763
+ * Build [ElementAnnotationImpl] for the given [UnlinkedExpr ] .
7764
7764
*/
7765
- ElementAnnotationImpl buildAnnotation (ElementImpl context, UnlinkedConst uc);
7765
+ ElementAnnotationImpl buildAnnotation (ElementImpl context, UnlinkedExpr uc);
7766
7766
7767
7767
/**
7768
- * Build [Expression] for the given [UnlinkedConst ] .
7768
+ * Build [Expression] for the given [UnlinkedExpr ] .
7769
7769
*/
7770
- Expression buildExpression (ElementImpl context, UnlinkedConst uc);
7770
+ Expression buildExpression (ElementImpl context, UnlinkedExpr uc);
7771
7771
7772
7772
/**
7773
7773
* Build explicit top-level property accessors.
0 commit comments