[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
+10
@@ -0,0 +1,10 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-62005
|
||||
|
||||
class A {
|
||||
class NestedInA<!CONFLICTING_OVERLOADS!>()<!>
|
||||
<!CONFLICTING_OVERLOADS!>fun NestedInA()<!> {}
|
||||
|
||||
class <!CONFLICTING_OVERLOADS!>NestedInA2<!>
|
||||
<!CONFLICTING_OVERLOADS!>fun NestedInA2()<!> {}
|
||||
}
|
||||
Reference in New Issue
Block a user