[Analysis API] fix "Unexpected class FirTypeProjectionWithVarianceImpl" exception

from KtFirExpressionTypeProvider.getKtExpressionType

^KTIJ-23432 fixed
This commit is contained in:
Ilya Kirillov
2023-05-04 19:54:06 +02:00
parent 89dbc4daec
commit 4c69f2fbcb
8 changed files with 36 additions and 2 deletions
@@ -0,0 +1,5 @@
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtNameReferenceExpression
fun main() {
listOf<<expr>_</expr>>(1)
}
@@ -0,0 +1,2 @@
expression: _
type: null