K2: don't resolve callable reference to enum entries #KT-59611 Fixed

This commit is contained in:
Mikhail Glukhikh
2023-07-05 14:02:04 +02:00
committed by Space Team
parent 9bbfdb708c
commit 15b070b494
10 changed files with 54 additions and 6 deletions
@@ -11062,6 +11062,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/enum/overrideFinalEnumMethods.kt");
}
@Test
@TestMetadata("referenceToEnumEntry.kt")
public void testReferenceToEnumEntry() throws Exception {
runTest("compiler/testData/diagnostics/tests/enum/referenceToEnumEntry.kt");
}
@Test
@TestMetadata("SecondaryConstructorCall.kt")
public void testSecondaryConstructorCall() throws Exception {
@@ -11062,6 +11062,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/enum/overrideFinalEnumMethods.kt");
}
@Test
@TestMetadata("referenceToEnumEntry.kt")
public void testReferenceToEnumEntry() throws Exception {
runTest("compiler/testData/diagnostics/tests/enum/referenceToEnumEntry.kt");
}
@Test
@TestMetadata("SecondaryConstructorCall.kt")
public void testSecondaryConstructorCall() throws Exception {