JVM_IR: Put continuation parameter before default mask and handler.
This is important for calls using reflection as the reflect library assumes this ordering of arguments. It would be nice if this could be handled in the lowerings. Currently AddContinuationLowering is after DefaultArgumentStubGenerator. If we could add the continuation first and then do default stub generation maybe we could avoid the reshuffling introduced in coroutine codegen in this change.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
// WITH_COROUTINES
|
||||
// WITH_REFLECT
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
Reference in New Issue
Block a user