Index: pkg/compiler/lib/src/use_unused_api.dart |
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart |
index cff74c49ad7041b8c61211ad4e7d72611d6af702..84f4826ab280ef1f6e4481370b678cfddf16cde1 100644 |
--- a/pkg/compiler/lib/src/use_unused_api.dart |
+++ b/pkg/compiler/lib/src/use_unused_api.dart |
@@ -157,7 +157,7 @@ void useNode(tree.Node node) { |
..asSwitchStatement() |
..asSyncForIn() |
..asTryStatement() |
- ..asTypeAnnotation() |
+ ..asNominalTypeAnnotation() |
..asTypeVariable() |
..asTypedef() |
..asWhile() |