Make @JvmStatic work on JVM_IR
This commit is contained in:
+2
@@ -460,6 +460,8 @@ private fun IrFunction.generateDefaultsFunction(context: CommonBackendContext):
|
||||
|
||||
result.valueParameters += newValueParameters.also { it.forEach { it.parent = result } }
|
||||
|
||||
function.annotations.mapTo(result.annotations) { it.deepCopyWithSymbols() }
|
||||
|
||||
result
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user