Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/importedObjectFunction.kt.after
T
2020-04-29 20:19:41 +07:00

22 lines
445 B
Plaintext
Vendored

// "Replace with 'stopKoin()'" "true"
// WITH_RUNTIME
package com.example.pkg
import com.example.pkg.StandAloneContext.closeKoin
import com.example.pkg.StandAloneContext.stopKoin
object StandAloneContext {
@Deprecated(
"Renamed, use stopKoin() instead.",
ReplaceWith("stopKoin()", "com.example.pkg.StandAloneContext.stopKoin")
)
fun closeKoin() = stopKoin()
fun stopKoin() {}
}
fun koin() {
stopKoin()
}