[FIR] Don't build placeholder projection for types
This commit is contained in:
@@ -1782,8 +1782,9 @@ open class RawFirBuilder(
|
||||
source = projectionSource
|
||||
}
|
||||
}
|
||||
val argumentList = typeProjection.parent as? KtTypeArgumentList
|
||||
val typeReference = typeProjection.typeReference
|
||||
if (typeReference?.isPlaceholder == true) {
|
||||
if (argumentList?.parent is KtCallExpression && typeReference?.isPlaceholder == true) {
|
||||
return buildPlaceholderProjection {
|
||||
source = projectionSource
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user