[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
<!CONFLICTING_OVERLOADS!>@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
<!HIDDEN!>@kotlin.internal.LowPriorityInOverloadResolution<!>
|
||||
fun foo(): Int = 1
|
||||
fun foo(): Int = 1<!>
|
||||
|
||||
fun foo(): String = ""
|
||||
<!CONFLICTING_OVERLOADS!>fun foo(): String = ""<!>
|
||||
|
||||
fun test() {
|
||||
val s = foo()
|
||||
|
||||
Reference in New Issue
Block a user