[Test] Reproduce KT-66313
This commit is contained in:
committed by
Space Team
parent
5fe3fa878e
commit
fece081265
+6
@@ -32280,6 +32280,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
|||||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("complexOrderAndImplicitTypes.kt")
|
||||||
|
public void testComplexOrderAndImplicitTypes() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/resolve/complexOrderAndImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructorVsCompanion.kt")
|
@TestMetadata("constructorVsCompanion.kt")
|
||||||
public void testConstructorVsCompanion() {
|
public void testConstructorVsCompanion() {
|
||||||
|
|||||||
+6
@@ -32280,6 +32280,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
|||||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("complexOrderAndImplicitTypes.kt")
|
||||||
|
public void testComplexOrderAndImplicitTypes() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/resolve/complexOrderAndImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructorVsCompanion.kt")
|
@TestMetadata("constructorVsCompanion.kt")
|
||||||
public void testConstructorVsCompanion() {
|
public void testConstructorVsCompanion() {
|
||||||
|
|||||||
+6
@@ -29978,6 +29978,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
|||||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("complexOrderAndImplicitTypes.kt")
|
||||||
|
public void testComplexOrderAndImplicitTypes() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/resolve/complexOrderAndImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructorVsCompanion.kt")
|
@TestMetadata("constructorVsCompanion.kt")
|
||||||
public void testConstructorVsCompanion() {
|
public void testConstructorVsCompanion() {
|
||||||
|
|||||||
+6
@@ -29990,6 +29990,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
|||||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("complexOrderAndImplicitTypes.kt")
|
||||||
|
public void testComplexOrderAndImplicitTypes() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/resolve/complexOrderAndImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructorVsCompanion.kt")
|
@TestMetadata("constructorVsCompanion.kt")
|
||||||
public void testConstructorVsCompanion() {
|
public void testConstructorVsCompanion() {
|
||||||
|
|||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
// ISSUE: KT-66313
|
||||||
|
|
||||||
|
val foo: String get() = ""
|
||||||
|
|
||||||
|
class Test1 {
|
||||||
|
private val otherFoo = foo
|
||||||
|
|
||||||
|
fun getFoo() = <!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>otherFoo<!>
|
||||||
|
}
|
||||||
|
|
||||||
|
class Test2 {
|
||||||
|
fun getFoo() = otherFoo
|
||||||
|
|
||||||
|
private val otherFoo = foo
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
// ISSUE: KT-66313
|
||||||
|
|
||||||
|
val foo: String get() = ""
|
||||||
|
|
||||||
|
class Test1 {
|
||||||
|
private val otherFoo = foo
|
||||||
|
|
||||||
|
fun getFoo() = otherFoo
|
||||||
|
}
|
||||||
|
|
||||||
|
class Test2 {
|
||||||
|
fun getFoo() = otherFoo
|
||||||
|
|
||||||
|
private val otherFoo = foo
|
||||||
|
}
|
||||||
Generated
+6
@@ -32280,6 +32280,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
|||||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("complexOrderAndImplicitTypes.kt")
|
||||||
|
public void testComplexOrderAndImplicitTypes() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/resolve/complexOrderAndImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructorVsCompanion.kt")
|
@TestMetadata("constructorVsCompanion.kt")
|
||||||
public void testConstructorVsCompanion() {
|
public void testConstructorVsCompanion() {
|
||||||
|
|||||||
Reference in New Issue
Block a user