| Index: tests/compiler/dart2js/kernel/impact_test.dart
|
| diff --git a/tests/compiler/dart2js/kernel/impact_test.dart b/tests/compiler/dart2js/kernel/impact_test.dart
|
| index 28487cde3a8e1cbe4ab1aa5be256f7ebe275746b..64e18a883c21a4fd486485d43bed569610e6b343 100644
|
| --- a/tests/compiler/dart2js/kernel/impact_test.dart
|
| +++ b/tests/compiler/dart2js/kernel/impact_test.dart
|
| @@ -709,12 +709,14 @@ ResolutionImpact laxImpact(
|
| ConstructorElement effectiveTarget = constructor.effectiveTarget;
|
| ResolutionDartType effectiveTargetType =
|
| constructor.computeEffectiveTargetType(staticUse.type);
|
| + ConstructorElement effectiveTargetDeclaration =
|
| + effectiveTarget.declaration;
|
| builder.registerStaticUse(
|
| staticUse.kind == StaticUseKind.CONST_CONSTRUCTOR_INVOKE
|
| ? new StaticUse.constConstructorInvoke(
|
| - effectiveTarget.declaration, null, effectiveTargetType)
|
| + effectiveTargetDeclaration, null, effectiveTargetType)
|
| : new StaticUse.typedConstructorInvoke(
|
| - effectiveTarget.declaration, null, effectiveTargetType));
|
| + effectiveTargetDeclaration, null, effectiveTargetType));
|
| break;
|
| default:
|
| builder.registerStaticUse(staticUse);
|
|
|