commit | a49f7f1d44559815d9868663442002c6b5b5666d | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Sun Feb 10 17:11:18 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Sun Feb 10 17:11:18 2019 +0000 |
tree | b41d4a1548123ae83418052eccf0a57e445665b5 | |
parent | 5f2d651d94a47f33ba6bb1f4bf16b7aecffc022f [diff] |
Remove FunctionTypeAlias in _isFunctionalParameter(). It is not a type, but a node. R=brianwilkerson@google.com Change-Id: I603e958dda3c2486285a57bc23f2fd37491105f4 Reviewed-on: https://dart-review.googlesource.com/c/92528 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
diff --git a/pkg/analyzer_plugin/lib/src/utilities/completion/completion_target.dart b/pkg/analyzer_plugin/lib/src/utilities/completion/completion_target.dart index 69a0aae..fa3edbe 100644 --- a/pkg/analyzer_plugin/lib/src/utilities/completion/completion_target.dart +++ b/pkg/analyzer_plugin/lib/src/utilities/completion/completion_target.dart
@@ -575,6 +575,6 @@ paramType = param.type; } } - return paramType is FunctionType || paramType is FunctionTypeAlias; + return paramType is FunctionType; } }