FIR: do not allow getting PSI text in RawFirBuilder in stub mode
This commit is contained in:
@@ -1349,7 +1349,7 @@ class RawFirBuilder(
|
|||||||
source = projectionSource
|
source = projectionSource
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (projectionKind == KtProjectionKind.NONE && typeProjection.text == "_") {
|
if (projectionKind == KtProjectionKind.NONE && !stubMode && typeProjection.text == "_") {
|
||||||
return FirTypePlaceholderProjection
|
return FirTypePlaceholderProjection
|
||||||
}
|
}
|
||||||
val typeReference = typeProjection.typeReference
|
val typeReference = typeProjection.typeReference
|
||||||
|
|||||||
Reference in New Issue
Block a user