bdawg.io
10/29/2018, 6:22 PMe: org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression at (20,26) in /path/to/ModuleCommand.kt
Caused by: java.lang.AssertionError: Rewrite at slice FUNCTOR key: @kotlin.internal.InlineOnly public inline fun check(value: kotlin.Boolean, lazyMessage: () -> kotlin.Any): kotlin.Unit defined in kotlin[DeserializedSimpleFunctionDescriptor@2e20f454] old value: org.jetbrains.kotlin.contracts.model.functors.SubstitutingFunctor@7b9036fb@2073048827 new value: org.jetbrains.kotlin.contracts.model.functors.SubstitutingFunctor@5779296b@1467558251
Caused by: java.lang.Throwable: Rewrite at slice FUNCTOR key: @kotlin.internal.InlineOnly public inline fun check(value: kotlin.Boolean, lazyMessage: () -> kotlin.Any): kotlin.Unit defined in kotlin[DeserializedSimpleFunctionDescriptor@2e20f454] old value: org.jetbrains.kotlin.contracts.model.functors.SubstitutingFunctor@7b9036fb@2073048827 new value: org.jetbrains.kotlin.contracts.model.functors.SubstitutingFunctor@5779296b@1467558251
Where position (20, 26) is a kotlinx.coroutines.runBlocking
call import kotlinx.coroutines.runBlocking
11: object ModuleCommand : CliktCommand(...) {
...
20: override fun run() = runBlocking {
...
50: }
...
63: }
I still get this error after performing a Gradle clean. Has anyone experience this type of issue that figured out a fix?Alexey Belkov [JB]
10/30/2018, 7:36 AM