KTIJ-24768 Fix IllegalArgumentException in KtType.isPrimitiveBacked
This commit is contained in:
committed by
Space Team
parent
8d1cfe0017
commit
164cbc9968
+5
@@ -27,4 +27,9 @@ internal class KtFe10JvmTypeMapper(
|
||||
val kotlinType = (type as KtFe10Type).fe10Type
|
||||
return typeMapper.mapType(kotlinType, mode)
|
||||
}
|
||||
|
||||
override fun isPrimitiveBacked(type: KtType): Boolean {
|
||||
val kotlinType = (type as KtFe10Type).fe10Type
|
||||
return typeMapper.isPrimitiveBacked(kotlinType)
|
||||
}
|
||||
}
|
||||
+3
@@ -57,6 +57,9 @@ internal class KtFe10JvmTypeMapperContext(private val resolveSession: ResolveSes
|
||||
return AbstractTypeMapper.mapType(this, type, mode, sw)
|
||||
}
|
||||
|
||||
fun isPrimitiveBacked(type: KotlinType): Boolean =
|
||||
AbstractTypeMapper.isPrimitiveBacked(this, type)
|
||||
|
||||
override fun getClassInternalName(typeConstructor: TypeConstructorMarker): String {
|
||||
require(typeConstructor is TypeConstructor)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user