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 90fc2c321b142b88b6e25a20dc40808872955631..6ed34dfe6019c7f802575201db380167164e74bc 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, |