Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/javaDeprecated.before.Main.kt
T
Mikhail Glukhikh c084eefb65 Fix a bunch of IDE quick-fix tests (related to "convert to run/...")
These actions became available more often some days ago
2019-02-25 10:37:46 +03:00

11 lines
260 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix" "false"
// ACTION: Convert to run
// ACTION: Convert to with
// ACTION: Convert to also
// ACTION: Convert to apply
fun foo() {
val c = JavaClass()
c.<caret>oldFun()
}