JVM_IR: Copy annotations to suspend function views.
This commit is contained in:
+3
@@ -152,6 +152,9 @@ private fun IrFunction.suspendFunctionView(context: JvmBackendContext): IrFuncti
|
||||
).also {
|
||||
descriptor.bind(it)
|
||||
it.parent = parent
|
||||
|
||||
it.annotations.addAll(annotations)
|
||||
|
||||
it.copyTypeParametersFrom(this)
|
||||
|
||||
it.dispatchReceiverParameter = dispatchReceiverParameter?.copyTo(it)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_REFLECT
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user