[FIR] Ignore the operator keyword when checking conflicting overloads

^KT-59880
This commit is contained in:
Nikolay Lunyak
2023-10-10 15:05:47 +03:00
committed by Space Team
parent 09436d0480
commit df6f51b49f
2 changed files with 3 additions and 6 deletions
@@ -1,4 +1,4 @@
data class A(val x: Int, val y: String) {
fun component1() = 1
fun component2() = 2
data class <!CONFLICTING_OVERLOADS, CONFLICTING_OVERLOADS!>A(val x: Int, val y: String)<!> {
<!CONFLICTING_OVERLOADS!>fun component1()<!> = 1
<!CONFLICTING_OVERLOADS!>fun component2()<!> = 2
}