[FIR] Check conflicts between nested classes' constructors and member functions
For an example of an object with an implicit primary constructor, see `FirPsiOldFrontendDiagnosticsTestGenerated.testSingletonAndFunctionSameName`. ^KT-62005 Fixed Merge-request: KT-MR-12242 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
777df2d923
commit
93958ec73d
+6
@@ -825,6 +825,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassConstructorVsMemberFunctionConflict.kt")
|
||||
public void testNestedClassConstructorVsMemberFunctionConflict() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/nestedClassConstructorVsMemberFunctionConflict.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noLibraryProvidersDuplication.kt")
|
||||
public void testNoLibraryProvidersDuplication() throws Exception {
|
||||
|
||||
+6
@@ -825,6 +825,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassConstructorVsMemberFunctionConflict.kt")
|
||||
public void testNestedClassConstructorVsMemberFunctionConflict() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/nestedClassConstructorVsMemberFunctionConflict.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noLibraryProvidersDuplication.kt")
|
||||
public void testNoLibraryProvidersDuplication() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user