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 6ed34dfe6019c7f802575201db380167164e74bc..90fc2c321b142b88b6e25a20dc40808872955631 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.templateParameters); |
+ resolveTypeVariableBounds(node.typeParameters); |
FunctionSignature signature = SignatureResolver.analyze( |
resolution, |
scope, |
- node.typeParameters, |
+ null /* typeVariables */, |
node.formals, |
node.returnType, |
element, |