[FIR] Fix mapped constructor hiding logic

Partially reverts 24367e0ad8

Constructors have their own list of hidden/visible.
We now require the constructor to be in VISIBLE_CONSTRUCTOR_SIGNATURES,
everything else is hidden.
This makes it unnecessary to check HIDDEN_CONSTRUCTOR_SIGNATURES

#KT-65821 Fixed
This commit is contained in:
Kirill Rakhman
2024-02-15 11:12:45 +01:00
committed by Space Team
parent 84f0f6e099
commit 81e0abeb8f
8 changed files with 56 additions and 16 deletions
@@ -22560,6 +22560,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/syntheticPropertyOverridden2.kt");
}
@Test
@TestMetadata("throwableConstructor.kt")
public void testThrowableConstructor() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/throwableConstructor.kt");
}
@Test
@TestMetadata("traitDefaultCall.kt")
public void testTraitDefaultCall() throws Exception {
@@ -22560,6 +22560,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/syntheticPropertyOverridden2.kt");
}
@Test
@TestMetadata("throwableConstructor.kt")
public void testThrowableConstructor() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/throwableConstructor.kt");
}
@Test
@TestMetadata("traitDefaultCall.kt")
public void testTraitDefaultCall() throws Exception {