mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
643 B
Kotlin
Vendored
13 lines
643 B
Kotlin
Vendored
import org.jetbrains.annotations.PropertyKey
|
|
|
|
fun message(@PropertyKey(resourceBundle = "PropertyKeysEmptyString") key: String) = key
|
|
|
|
fun test() {
|
|
message("<caret>")
|
|
}
|
|
|
|
// EXIST: { lookupString: "foo.bar", itemText: "foo.bar", tailText: "1", typeText: "PropertyKeysEmptyString" }
|
|
// EXIST: { lookupString: "bar.baz", itemText: "bar.baz", tailText: "2", typeText: "PropertyKeysEmptyString" }
|
|
// EXIST: { lookupString: "foo.bar.baz", itemText: "foo.bar.baz", tailText: "3", typeText: "PropertyKeysEmptyString" }
|
|
// EXIST: { lookupString: "foo.test", itemText: "foo.test", tailText: "4", typeText: "PropertyKeysEmptyString" }
|
|
// NOTHING_ELSE |