Files
Vladimir Dolzhenko f36778006d [kotlin] Align K2 test data file names
#KTIJ-29583

GitOrigin-RevId: 150fae6655bde2c4b7120edf2223c3112a4f2121
2024-07-13 18:32:27 +00:00

23 lines
615 B
Plaintext

// "Replace with 'stopKoin()'" "true"
// WITH_STDLIB
package com.example.pkg
import com.example.pkg.StandAloneContext.closeKoin
object StandAloneContext {
@Deprecated(
"Renamed, use stopKoin() instead.",
ReplaceWith("stopKoin()", "com.example.pkg.StandAloneContext.stopKoin")
)
fun closeKoin() = stopKoin()
fun stopKoin() {}
}
fun koin() {
StandAloneContext.stopKoin()
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.replaceWith.DeprecatedSymbolUsageFix