badoo / Reaktive

Kotlin multi-platform implementation of Reactive Extensions
Apache License 2.0
1.18k stars 58 forks source link

Coroutines 1.7.1 causing internal compiler error #755

Closed minaEweida closed 1 year ago

minaEweida commented 1 year ago

When upgrading to 2.0.0-alpha01 I am running into

e: Compilation failed: Internal compiler error: no implementation found for FUN DEFAULT_PROPERTY_ACCESSOR name:<get-parent> visibility:public modality:ABSTRACT <> ($this:kotlinx.coroutines.Job) returnType:kotlinx.coroutines.Job?

This is tracked here

Will it make sense to downgrade to 1.7.0 till this issue is resolved with Ktor?

arkivanov commented 1 year ago

Thanks for reporting! Will downgrading coroutines to 1.7.0 actually fix the issue? There is a comment in that issue saying:

Still happens on coroutines 1.7.0 and ktor 2.3.0 and kotlin 1.8.21

Meantime, perhaps you could downgrade coroutines in your project if needed? Would this work for you?

minaEweida commented 1 year ago

Yes makes sense, thanks for your reply