| 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 b0c85a23059884dd0316d7ef45229dd1394b2a84..7d8068daae212e32ff4635a21cd5e56523cf7f89 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| @@ -200,7 +200,7 @@ public class ResolutionContext implements ResolutionErrorListener {
|
| typeArguments[i] = typeProvider.getDynamicType();
|
| }
|
| if (typeArgumentNodes != null && typeArgumentNodes.size() > 0) {
|
| - typeError(node, DartCompilerErrorCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS, element.getType());
|
| + resolutionError(node, DartCompilerErrorCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS, element.getType());
|
| }
|
| int index = 0;
|
| if (typeArgumentNodes != null) {
|
|
|