Fix optimization of property delegates of platform types
The old code didn't replace the delegate field access because it was wrapped into a TYPE_OP IMPLICIT_NOTNULL. #KT-54463 Fixed
This commit is contained in:
committed by
Space Team
parent
ac74ce5f27
commit
8812f632cc
+5
@@ -12091,6 +12091,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToFinalProperty/initializeContainerOfTopLevelProperties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt54463_platformType.kt")
|
||||
public void testKt54463_platformType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToFinalProperty/kt54463_platformType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("memberExtensionPropertyAndImportFromObject.kt")
|
||||
public void testMemberExtensionPropertyAndImportFromObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToFinalProperty/memberExtensionPropertyAndImportFromObject.kt");
|
||||
|
||||
Reference in New Issue
Block a user