[FIR] Rename createArrayOf to createArrayType

This commit is contained in:
Dmitriy Novozhilov
2020-09-11 10:49:13 +03:00
parent 3b941a8f43
commit 324aaaddad
5 changed files with 6 additions and 7 deletions
@@ -139,7 +139,7 @@ internal class KClassValue(value: Value) : ConstantValue<KClassValue.Value>(valu
val klass = session.firSymbolProvider.getClassLikeSymbolByFqName(classId)?.fir as? FirRegularClass ?: return null
var type: ConeKotlinType = klass.defaultType().replaceArgumentsWithStarProjections()
repeat(arrayDimensions) {
type = type.createArrayOf()
type = type.createArrayType()
}
return type
}