Add tests for KT-48180
This commit is contained in:
+15
@@ -1366,6 +1366,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAfterCapturing.kt")
|
||||
public void testDefaultAfterCapturing() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultCallInDefaultLambda.kt")
|
||||
public void testDefaultCallInDefaultLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultCallInDefaultLambda.kt");
|
||||
@@ -1451,6 +1456,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reordering.kt")
|
||||
public void testReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt");
|
||||
@@ -1553,6 +1563,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAfterBoundReference.kt")
|
||||
public void testDefaultAfterBoundReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("differentInvokeSignature.kt")
|
||||
public void testDifferentInvokeSignature() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/differentInvokeSignature.kt");
|
||||
|
||||
Generated
+15
@@ -1366,6 +1366,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAfterCapturing.kt")
|
||||
public void testDefaultAfterCapturing() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultCallInDefaultLambda.kt")
|
||||
public void testDefaultCallInDefaultLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultCallInDefaultLambda.kt");
|
||||
@@ -1451,6 +1456,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reordering.kt")
|
||||
public void testReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt");
|
||||
@@ -1553,6 +1563,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAfterBoundReference.kt")
|
||||
public void testDefaultAfterBoundReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("differentInvokeSignature.kt")
|
||||
public void testDifferentInvokeSignature() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/differentInvokeSignature.kt");
|
||||
|
||||
Generated
+15
@@ -1366,6 +1366,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAfterCapturing.kt")
|
||||
public void testDefaultAfterCapturing() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultCallInDefaultLambda.kt")
|
||||
public void testDefaultCallInDefaultLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultCallInDefaultLambda.kt");
|
||||
@@ -1451,6 +1456,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reordering.kt")
|
||||
public void testReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt");
|
||||
@@ -1553,6 +1563,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAfterBoundReference.kt")
|
||||
public void testDefaultAfterBoundReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("differentInvokeSignature.kt")
|
||||
public void testDifferentInvokeSignature() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/differentInvokeSignature.kt");
|
||||
|
||||
Reference in New Issue
Block a user