DeprecatedSymbolUsageFix - correct dealing with implicit receivers + fixed KT-7776 in completion
#KT-7776 Fixed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Replace with 'newFun(this, s)'" "true"
|
||||
|
||||
interface I {
|
||||
@deprecated("", ReplaceWith("newFun(this, s)"))
|
||||
fun oldFun(s: String)
|
||||
}
|
||||
|
||||
fun newFun(i: I, s: String){}
|
||||
|
||||
fun I.foo() {
|
||||
with("a") {
|
||||
<caret>newFun(this@foo, this)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user