| Index: pkg/compiler/lib/src/ssa/kernel_impact.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/kernel_impact.dart b/pkg/compiler/lib/src/ssa/kernel_impact.dart
|
| index 7c631222632e01fe5ce8abfe892f534b4002ce9a..326dec2010dcc255bfec181dadaefff9d28a591d 100644
|
| --- a/pkg/compiler/lib/src/ssa/kernel_impact.dart
|
| +++ b/pkg/compiler/lib/src/ssa/kernel_impact.dart
|
| @@ -331,8 +331,8 @@ class KernelImpactBuilder extends ir.Visitor {
|
| }
|
| ir.Node argument = node.arguments.positional.first;
|
| if (argument is ir.TypeLiteral && argument.type is ir.InterfaceType) {
|
| - impactBuilder.registerTypeUse(
|
| - new TypeUse.instantiation(astAdapter.getDartType(argument.type)));
|
| + InterfaceType type = astAdapter.getDartType(argument.type);
|
| + impactBuilder.registerTypeUse(new TypeUse.instantiation(type));
|
| }
|
| break;
|
| case ForeignKind.NONE:
|
|
|