Skip to content

Commit

Permalink
fix: use getTypeDeclaration in CtTypeParameterReference (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky authored and monperrus committed Jun 10, 2017
1 parent e738a1b commit 0fe99ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public CtTypeReference<?> getTypeErasure() {

@Override
public boolean isSubtypeOf(CtTypeReference<?> type) {
return getDeclaration().isSubtypeOf(type);
return getTypeDeclaration().isSubtypeOf(type);
}

@Override
Expand Down

0 comments on commit 0fe99ca

Please sign in to comment.