JVM IR: do not optimize properties with -Xno-optimized-callable-references
#KT-50019 Fixed
This commit is contained in:
+1
@@ -35,6 +35,7 @@ internal val propertyReferenceDelegationPhase = makeIrFilePhase(
|
||||
|
||||
private class PropertyReferenceDelegationLowering(val context: JvmBackendContext) : FileLoweringPass {
|
||||
override fun lower(irFile: IrFile) {
|
||||
if (!context.state.generateOptimizedCallableReferenceSuperClasses) return
|
||||
irFile.transform(PropertyReferenceDelegationTransformer(context), null)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user