| Index: pkg/compiler/lib/src/kernel/kernel_visitor.dart
|
| diff --git a/pkg/compiler/lib/src/kernel/kernel_visitor.dart b/pkg/compiler/lib/src/kernel/kernel_visitor.dart
|
| index 6a663b01c4cc12299b6c335c7879e15d7f3c73ce..da51f989db9e3c7e1fc07491de9b8dff4734e433 100644
|
| --- a/pkg/compiler/lib/src/kernel/kernel_visitor.dart
|
| +++ b/pkg/compiler/lib/src/kernel/kernel_visitor.dart
|
| @@ -104,7 +104,6 @@ import '../tree/tree.dart'
|
| ForIn,
|
| FunctionDeclaration,
|
| FunctionExpression,
|
| - FunctionTypeAnnotation,
|
| Identifier,
|
| If,
|
| Label,
|
| @@ -123,7 +122,6 @@ import '../tree/tree.dart'
|
| NewExpression,
|
| Node,
|
| NodeList,
|
| - NominalTypeAnnotation,
|
| Operator,
|
| ParenthesizedExpression,
|
| RedirectingFactoryBody,
|
| @@ -1089,28 +1087,14 @@ class KernelVisitor extends Object
|
|
|
| @override
|
| visitTypeAnnotation(TypeAnnotation node) {
|
| - // Shouldn't be called, as the resolver has already resolved types and
|
| + // Shouldn't be called, as the resolver have already resolved types and
|
| // created [DartType] objects.
|
| return internalError(node, "TypeAnnotation");
|
| }
|
|
|
| @override
|
| - visitNominalTypeAnnotation(NominalTypeAnnotation node) {
|
| - // Shouldn't be called, as the resolver has already resolved types and
|
| - // created [DartType] objects.
|
| - return internalError(node, "NominalTypeAnnotation");
|
| - }
|
| -
|
| - @override
|
| - visitFunctionTypeAnnotation(FunctionTypeAnnotation node) {
|
| - // Shouldn't be called, as the resolver has already resolved types and
|
| - // created [DartType] objects.
|
| - return internalError(node, "FunctionTypeAnnotation");
|
| - }
|
| -
|
| - @override
|
| visitTypeVariable(TypeVariable node) {
|
| - // Shouldn't be called, as the resolver has already resolved types and
|
| + // Shouldn't be called, as the resolver have already resolved types and
|
| // created [DartType] objects.
|
| return internalError(node, "TypeVariable");
|
| }
|
|
|