| Index: pkg/compiler/lib/src/resolution/signatures.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/signatures.dart b/pkg/compiler/lib/src/resolution/signatures.dart
|
| index 31673c2961da2bfb134a3179fc20730b22021909..faa927c43055f20dd33d9b8b67e191d6fc741392 100644
|
| --- a/pkg/compiler/lib/src/resolution/signatures.dart
|
| +++ b/pkg/compiler/lib/src/resolution/signatures.dart
|
| @@ -307,6 +307,11 @@ class SignatureResolver extends MappingVisitor<FormalElementX> {
|
| DiagnosticReporter reporter = resolution.reporter;
|
|
|
| List<DartType> createTypeVariables(NodeList typeVariableNodes) {
|
| + if (element.isPatch) {
|
| + FunctionTypedElement origin = element.origin;
|
| + origin.computeType(resolution);
|
| + return origin.typeVariables;
|
| + }
|
| if (typeVariableNodes == null) return const <DartType>[];
|
|
|
| // Create the types and elements corresponding to [typeVariableNodes].
|
|
|