Index: pkg/compiler/lib/src/elements/resolution_types.dart |
diff --git a/pkg/compiler/lib/src/elements/resolution_types.dart b/pkg/compiler/lib/src/elements/resolution_types.dart |
index 0f4b7bf10382f6be1c6ac6f5e8d5fef3efe3993d..b8ed4fb8c1b169a802d0f2ee00bcee4cae82245f 100644 |
--- a/pkg/compiler/lib/src/elements/resolution_types.dart |
+++ b/pkg/compiler/lib/src/elements/resolution_types.dart |
@@ -642,16 +642,6 @@ class ResolutionFunctionType extends ResolutionDartType |
optionalParameterTypes, namedParameters, namedParameterTypes); |
} |
- factory ResolutionFunctionType.generalized( |
- ResolutionDartType returnType, |
- List<ResolutionDartType> parameterTypes, |
- List<ResolutionDartType> optionalParameterTypes, |
- List<String> namedParameters, |
- List<ResolutionDartType> namedParameterTypes) { |
- return new ResolutionFunctionType.internal(null, returnType, parameterTypes, |
- optionalParameterTypes, namedParameters, namedParameterTypes); |
- } |
- |
ResolutionFunctionType.internal(FunctionTypedElement this.element, |
[ResolutionDartType returnType = const ResolutionDynamicType(), |
List<ResolutionDartType> parameterTypes = const <ResolutionDartType>[], |