Specify default value for irBackend
This commit is contained in:
+1
-2
@@ -19,8 +19,7 @@ class KotlinToJvmSignatureMapperImpl : KotlinToJvmSignatureMapper {
|
||||
private val typeMapper = KotlinTypeMapper(
|
||||
BindingContext.EMPTY, ClassBuilderMode.LIGHT_CLASSES,
|
||||
IncompatibleClassTracker.DoNothing, JvmAbi.DEFAULT_MODULE_NAME, JvmTarget.DEFAULT,
|
||||
KotlinTypeMapper.LANGUAGE_VERSION_SETTINGS_DEFAULT, // TODO use proper LanguageVersionSettings
|
||||
false
|
||||
KotlinTypeMapper.LANGUAGE_VERSION_SETTINGS_DEFAULT // TODO use proper LanguageVersionSettings
|
||||
)
|
||||
|
||||
override fun mapToJvmMethodSignature(function: FunctionDescriptor) = typeMapper.mapAsmMethod(function)
|
||||
|
||||
@@ -82,8 +82,8 @@ class KotlinTypeMapper @JvmOverloads constructor(
|
||||
private val moduleName: String,
|
||||
val jvmTarget: JvmTarget,
|
||||
private val languageVersionSettings: LanguageVersionSettings,
|
||||
private val isIrBackend: Boolean,
|
||||
private val typePreprocessor: Function1<KotlinType, KotlinType>? = null
|
||||
private val isIrBackend: Boolean = false,
|
||||
private val typePreprocessor: Function1<KotlinType, KotlinType?>? = null
|
||||
) {
|
||||
private val isReleaseCoroutines = languageVersionSettings.supportsFeature(LanguageFeature.ReleaseCoroutines)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user