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 {
|
).also {
|
||||||
descriptor.bind(it)
|
descriptor.bind(it)
|
||||||
it.parent = parent
|
it.parent = parent
|
||||||
|
|
||||||
|
it.annotations.addAll(annotations)
|
||||||
|
|
||||||
it.copyTypeParametersFrom(this)
|
it.copyTypeParametersFrom(this)
|
||||||
|
|
||||||
it.dispatchReceiverParameter = dispatchReceiverParameter?.copyTo(it)
|
it.dispatchReceiverParameter = dispatchReceiverParameter?.copyTo(it)
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// IGNORE_BACKEND: JVM_IR
|
|
||||||
// IGNORE_BACKEND: JS_IR
|
// IGNORE_BACKEND: JS_IR
|
||||||
// WITH_REFLECT
|
// WITH_REFLECT
|
||||||
// IGNORE_BACKEND: JS, NATIVE
|
// IGNORE_BACKEND: JS, NATIVE
|
||||||
|
|||||||
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
|
||||||
//ALLOW_AST_ACCESS
|
//ALLOW_AST_ACCESS
|
||||||
package test
|
package test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user