mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
13 lines
201 B
Kotlin
Vendored
13 lines
201 B
Kotlin
Vendored
// "Replace with 'newFun(t)'" "true"
|
|
|
|
class C<T>
|
|
|
|
@Deprecated("", ReplaceWith("newFun(t)"))
|
|
fun <T> C<T>.oldFun(t: T){}
|
|
|
|
fun <T> C<T>.newFun(t: T){}
|
|
|
|
fun foo(x: C<String>) {
|
|
x.<caret>oldFun("a")
|
|
}
|