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

22 lines
435 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")
)
val closeKoin = 1
val stopKoin = 2
}
fun koin() {
val i = stopKoin
}