[FIR] Rewrite redeclaration checks
#KT-60124 Fixed #KT-60573 Fixed
This commit is contained in:
committed by
Space Team
parent
b56f84b533
commit
951b299268
+3
-3
@@ -1,8 +1,8 @@
|
||||
<!CONFLICTING_OVERLOADS!>@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
fun foo(): Int<!> = 1
|
||||
fun foo(): Int = 1
|
||||
|
||||
<!CONFLICTING_OVERLOADS!>fun foo(): String<!> = ""
|
||||
fun foo(): String = ""
|
||||
|
||||
fun test() {
|
||||
val s = foo()
|
||||
|
||||
Reference in New Issue
Block a user