| Index: pkg/compiler/lib/src/ssa/optimize.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart
|
| index 07611f654a3292066d02ec241076f47e28dc7c3b..a47193f3a764029288e135760aed900f9716afff 100644
|
| --- a/pkg/compiler/lib/src/ssa/optimize.dart
|
| +++ b/pkg/compiler/lib/src/ssa/optimize.dart
|
| @@ -437,7 +437,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
| bool canInline = true;
|
| signature.forEachParameter((ParameterElement element) {
|
| if (inputPosition++ < inputs.length && canInline) {
|
| - DartType type = element.type.unalias(compiler);
|
| + DartType type = element.type.unalias(compiler.resolution);
|
| if (type is FunctionType) {
|
| canInline = false;
|
| }
|
|
|