| Index: compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java b/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| index 251d3962186a0347533b8d678fe82f715476f1fb..18fe9e7d2d836f56b892222c456b8d28d45687cd 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| @@ -9,6 +9,7 @@ import com.google.dart.compiler.DartCompilationError;
|
| import com.google.dart.compiler.DartCompilerContext;
|
| import com.google.dart.compiler.ErrorCode;
|
| import com.google.dart.compiler.ast.DartFunctionExpression;
|
| +import com.google.dart.compiler.ast.DartFunctionTypeAlias;
|
| import com.google.dart.compiler.ast.DartIdentifier;
|
| import com.google.dart.compiler.ast.DartNode;
|
| import com.google.dart.compiler.ast.DartNodeTraverser;
|
| @@ -253,6 +254,10 @@ public class ResolutionContext implements ResolutionErrorListener {
|
| pushScope(x.getFunctionName() == null ? "<function>" : x.getFunctionName());
|
| }
|
|
|
| + void pushFunctionAliasScope(DartFunctionTypeAlias x) {
|
| + pushScope(x.getName().getTargetName() == null ? "<function>" : x.getName().getTargetName());
|
| + }
|
| +
|
| AssertionError internalError(DartNode node, String message, Object... arguments) {
|
| message = String.format(message, arguments);
|
| context.onError(new DartCompilationError(node, ResolverErrorCode.INTERNAL_ERROR,
|
|
|