[NI] Add test for KT-32429
#KT-32429 Can't Reproduce
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
// TARGET_BACKEND: JVM
|
||||||
|
// WITH_RUNTIME
|
||||||
|
// !LANGUAGE: +NewInference
|
||||||
|
// ISSUE: KT-32429
|
||||||
|
|
||||||
|
import kotlin.properties.Delegates.observable
|
||||||
|
|
||||||
|
class Test {
|
||||||
|
var test by observable(0) { _, _, _ ->
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String = "OK"
|
||||||
+5
@@ -12523,6 +12523,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt32429.kt")
|
||||||
|
public void testKt32429() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
||||||
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
||||||
|
|||||||
+5
@@ -12523,6 +12523,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt32429.kt")
|
||||||
|
public void testKt32429() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
||||||
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
||||||
|
|||||||
+5
@@ -11373,6 +11373,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt32429.kt")
|
||||||
|
public void testKt32429() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
||||||
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
||||||
|
|||||||
+5
@@ -11373,6 +11373,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt32429.kt")
|
||||||
|
public void testKt32429() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
|
||||||
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user