Skip to content

Commit

Permalink
Remove redundant resolution
Browse files Browse the repository at this point in the history
Change-Id: I4890a1dd86aa0cf87f90ba6427dc59aa0a14f75f
Reviewed-on: https://dart-review.googlesource.com/75992
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
  • Loading branch information
MichaelRFairhurst authored and commit-bot@chromium.org committed Sep 24, 2018
1 parent dba8b37 commit d070397
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/analyzer/lib/src/generated/resolver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9388,7 +9388,8 @@ class TypeResolverVisitor extends ScopedVisitor {
AstNode parent2 = node.parent?.parent;
if (parent2 is ClassDeclaration ||
parent2 is ClassTypeAlias ||
parent2 is FunctionTypeAlias) {
parent2 is FunctionTypeAlias ||
parent2 is GenericTypeAlias) {
// Bounds of parameters of classes and function type aliases are
// already resolved.
} else {
Expand Down

0 comments on commit d070397

Please sign in to comment.