KTIJ-24768 Fix IllegalArgumentException in KtType.isPrimitiveBacked
This commit is contained in:
committed by
Space Team
parent
8d1cfe0017
commit
164cbc9968
+3
@@ -65,6 +65,9 @@ class FirJvmTypeMapper(val session: FirSession) : FirSessionComponent {
|
||||
return AbstractTypeMapper.mapType(context, type, mode, sw)
|
||||
}
|
||||
|
||||
fun isPrimitiveBacked(type: ConeKotlinType): Boolean =
|
||||
AbstractTypeMapper.isPrimitiveBacked(defaultContext, type)
|
||||
|
||||
private val defaultContext = Context { null }
|
||||
val typeContext: TypeSystemCommonBackendContext
|
||||
get() = defaultContext.typeContext
|
||||
|
||||
Reference in New Issue
Block a user