[FIR] Implement deprecation for calls to overrides of hidden
#KT-65438
This commit is contained in:
committed by
Space Team
parent
e16f80c578
commit
c6b2675089
+1
-1
@@ -9,5 +9,5 @@ interface A : MutableCollection<String> {
|
||||
fun foo(x: MutableCollection<Int>, y: Collection<String>, z: A) {
|
||||
x.<!UNRESOLVED_REFERENCE!>nonExistingMethod<!>(1).<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>checkType<!> { <!INAPPLICABLE_CANDIDATE!>_<!><<!CANNOT_INFER_PARAMETER_TYPE!>String<!>>() }
|
||||
y.<!UNRESOLVED_REFERENCE!>nonExistingMethod<!>("")
|
||||
z.<!UNRESOLVED_REFERENCE!>nonExistingMethod<!>("")
|
||||
z.<!DEPRECATION!>nonExistingMethod<!>("")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user