Propagate KotlinType into when expression codegen
This commit removes unneeded boxing when result expression of `when` is value of inline class type
This commit is contained in:
+5
@@ -11021,6 +11021,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/callableReferencesWithInlineClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("castInsideWhenExpression.kt")
|
||||
public void testCastInsideWhenExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/castInsideWhenExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("checkBoxUnboxOfArgumentsOnInlinedFunctions.kt")
|
||||
public void testCheckBoxUnboxOfArgumentsOnInlinedFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/checkBoxUnboxOfArgumentsOnInlinedFunctions.kt");
|
||||
|
||||
Reference in New Issue
Block a user