JVM IR: do not hide constructor with inline class types and defaults
This corresponds to the ABI generated by the old backend. Moreover, when compiling the module 'ir.tree' with JVM IR (could not reproduce on a small sample), this led to a codegen crash when trying to reassign parameter value to the default stub, which is an error expression and can't be generated by ExpressionCodegen.
This commit is contained in:
@@ -2577,6 +2577,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/constructorBridge.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorWithDefaultArguments.kt")
|
||||
public void testConstructorWithDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/constructorWithDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParametersDontBox.kt")
|
||||
public void testDefaultParametersDontBox() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/defaultParametersDontBox.kt");
|
||||
|
||||
Reference in New Issue
Block a user