| Index: pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
|
| diff --git a/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart b/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
|
| index 81eae70c8192c51db1bac54801b317ce8eb2c33e..03f0ba1f9735b059d0a33c903c13d3294e543501 100644
|
| --- a/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
|
| +++ b/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
|
| @@ -495,6 +495,8 @@ class TreePrinter {
|
| : makeFunctionBody(exp.body);
|
| result = new tree.FunctionExpression(
|
| constructorName(exp),
|
| + // TODO(eernst): retrieve and pass the actual type variables.
|
| + null, // typeVariables
|
| parameters,
|
| body,
|
| null, // return type
|
| @@ -514,6 +516,8 @@ class TreePrinter {
|
| tree.Node body = makeFunctionBody(exp.body);
|
| result = new tree.FunctionExpression(
|
| functionName(exp),
|
| + // TODO(eernst): retrieve and pass the actual type variables.
|
| + null, // typeVariables
|
| parameters,
|
| body,
|
| exp.returnType == null || exp.element.isConstructor
|
| @@ -798,6 +802,8 @@ class TreePrinter {
|
| } else if (stmt is FunctionDeclaration) {
|
| tree.FunctionExpression function = new tree.FunctionExpression(
|
| stmt.name != null ? makeIdentifier(stmt.name) : null,
|
| + // TODO(eernst): retrieve and pass the actual type variables.
|
| + null, // typeVariables
|
| makeParameters(stmt.parameters),
|
| makeFunctionBody(stmt.body),
|
| stmt.returnType != null ? makeType(stmt.returnType) : null,
|
| @@ -965,6 +971,8 @@ class TreePrinter {
|
| if (param.isFunction) {
|
| tree.Node definition = new tree.FunctionExpression(
|
| makeIdentifier(param.name),
|
| + // TODO(eernst): retrieve and pass the actual type variables.
|
| + null, // typeVariables
|
| makeParameters(param.parameters),
|
| null, // body
|
| param.type == null ? null : makeType(param.type),
|
|
|