Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Fixes after rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 45fa490672a49c354ab1d5281910bdfbfbd4b4ea..b7ba2673ad5365c7af7d39b8426bdf5edc5f28a3 100644
--- a/pkg/compiler/lib/src/use_unused_api.dart
+++ b/pkg/compiler/lib/src/use_unused_api.dart
@@ -155,7 +155,7 @@ void useNode(tree.Node node) {
..asSwitchStatement()
..asSyncForIn()
..asTryStatement()
- ..asTypeAnnotation()
+ ..asNominalTypeAnnotation()
..asTypeVariable()
..asTypedef()
..asWhile()

Powered by Google App Engine
This is Rietveld 408576698