[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:
committed by
Space Team
parent
84f0f6e099
commit
81e0abeb8f
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user