JVM IR: do not optimize properties with -Xno-optimized-callable-references

#KT-50019 Fixed
This commit is contained in:
Alexander Udalov
2021-12-07 00:41:47 +01:00
parent f47a3a3d1c
commit 1471602c9f
9 changed files with 51 additions and 0 deletions
@@ -11407,6 +11407,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/kt49793_object.kt");
}
@TestMetadata("kt50019_noOptimizedCallableReferences.kt")
public void testKt50019_noOptimizedCallableReferences() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/kt50019_noOptimizedCallableReferences.kt");
}
@TestMetadata("mutable.kt")
public void testMutable() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/mutable.kt");