e66f1c2d70
#KT-9981 Fixed
21 lines
331 B
Plaintext
Vendored
21 lines
331 B
Plaintext
Vendored
// "Replace usages of 'contains(String) on C: Boolean' in whole project" "true"
|
|
|
|
class C
|
|
|
|
@Deprecated("", ReplaceWith("checkContains(s)"))
|
|
operator fun C.contains(s: String) = true
|
|
|
|
fun C.checkContains(s: String) = true
|
|
|
|
fun f(c: C) {
|
|
if (!c.checkContains("")) {
|
|
|
|
}
|
|
}
|
|
|
|
fun g(c: C) {
|
|
if (c.checkContains("")) {
|
|
|
|
}
|
|
}
|