Support type annotations resolution on an underscored type argument

This commit is contained in:
Victor Petukhov
2021-10-22 11:11:55 +03:00
parent b69fb6779f
commit 248c9550cd
9 changed files with 67 additions and 12 deletions
@@ -39,7 +39,7 @@ class KtTypeReference : KtModifierListOwnerStub<KotlinPlaceHolderStub<KtTypeRefe
}
val isPlaceholder: Boolean
get() = findDescendantOfType<KtNameReferenceExpression>()?.isPlaceholder == true
get() = typeElement?.findDescendantOfType<KtNameReferenceExpression>()?.isPlaceholder == true
val typeElement: KtTypeElement?
get() = KtStubbedPsiUtil.getStubOrPsiChild(this, KtStubElementTypes.TYPE_ELEMENT_TYPES, KtTypeElement.ARRAY_FACTORY)