Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/properties/callInAssignmentToProperty.kt
T
2018-05-24 15:15:22 +03:00

8 lines
150 B
Kotlin
Vendored

// "Replace with 'FOO'" "true"
const val FOO = 1
@Deprecated("always const", ReplaceWith("FOO"))
fun foo() = 1
fun test(){
val x = foo<caret>()
}