Index: pkg/compiler/lib/src/resolution/typedefs.dart |
diff --git a/pkg/compiler/lib/src/resolution/typedefs.dart b/pkg/compiler/lib/src/resolution/typedefs.dart |
index 1c52c933b7a53edbc20220978bbb718994da29b5..c885fe2bc4bb1d55c0bab472062cf816047c3bac 100644 |
--- a/pkg/compiler/lib/src/resolution/typedefs.dart |
+++ b/pkg/compiler/lib/src/resolution/typedefs.dart |
@@ -27,12 +27,12 @@ class TypedefResolverVisitor extends TypeDefinitionVisitor { |
visitTypedef(Typedef node) { |
element.computeType(resolution); |
scope = new TypeDeclarationScope(scope, element); |
- resolveTypeVariableBounds(node.typeParameters); |
+ resolveTypeVariableBounds(node.templateParameters); |
FunctionSignature signature = SignatureResolver.analyze( |
resolution, |
scope, |
- null /* typeVariables */, |
+ node.typeParameters, |
node.formals, |
node.returnType, |
element, |