JVM IR: Make receiver type of IrGetField not null

otherwise, it will be mapped to inline class type if underlying type
is primitive of nullable.

 #KT-52913 Fixed
This commit is contained in:
Ilmir Usmanov
2022-06-27 03:13:33 +02:00
committed by Space
parent cb1a8bd687
commit a5084c2f69
10 changed files with 78 additions and 2 deletions
@@ -17842,6 +17842,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inlineClasses/kt52394.kt");
}
@TestMetadata("kt52913.kt")
public void testKt52913() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt52913.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
@TestMetadata("mangledDefaultParameterFunction.kt")
public void testMangledDefaultParameterFunction() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());