K2: add test to confirm KT-58874 now works properly

#KT-58874 Obsolete
This commit is contained in:
Mikhail Glukhikh
2023-11-13 09:24:26 +01:00
committed by Space Team
parent d5e391c401
commit 9903b70e0a
7 changed files with 88 additions and 0 deletions
@@ -42683,6 +42683,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
public void testIfWithCallableReferenceInLazy() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/delegateInference/ifWithCallableReferenceInLazy.kt");
}
@Test
@TestMetadata("resolveGetValueWithWholeDelegate.kt")
public void testResolveGetValueWithWholeDelegate() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/delegateInference/resolveGetValueWithWholeDelegate.kt");
}
}
@Nested
@@ -42683,6 +42683,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
public void testIfWithCallableReferenceInLazy() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/delegateInference/ifWithCallableReferenceInLazy.kt");
}
@Test
@TestMetadata("resolveGetValueWithWholeDelegate.kt")
public void testResolveGetValueWithWholeDelegate() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/delegateInference/resolveGetValueWithWholeDelegate.kt");
}
}
@Nested