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

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

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Remove obsolete named argument. Created 3 years, 12 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 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()

Powered by Google App Engine
This is Rietveld 408576698