| Index: pkg/compiler/lib/src/ssa/graph_builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/graph_builder.dart b/pkg/compiler/lib/src/ssa/graph_builder.dart
|
| index 0af3064f171e78fae6d45512ef6b4488362f9302..9dbab93421640ec2713f90398f7eea72b0ad5d65 100644
|
| --- a/pkg/compiler/lib/src/ssa/graph_builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/graph_builder.dart
|
| @@ -261,14 +261,6 @@ class ReifiedTypeRepresentationBuilder
|
| ResolutionTypeVariableType type, GraphBuilder builder) {
|
| ClassElement cls = builder.backend.helpers.RuntimeType;
|
| TypeMask instructionType = new TypeMask.subclass(cls, closedWorld);
|
| -
|
| - // TODO(floitsch): this hack maps type variables of generic function
|
| - // typedefs to dynamic. For example: `typedef F = Function<T>(T)`.
|
| - if (type is MethodTypeVariableType) {
|
| - visitDynamicType(const ResolutionDynamicType(), builder);
|
| - return;
|
| - }
|
| -
|
| if (!builder.sourceElement.enclosingElement.isClosure &&
|
| builder.sourceElement.isInstanceMember) {
|
| HInstruction receiver = builder.localsHandler.readThis();
|
|
|