mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-25528 #KTIJ-20783 Fixed GitOrigin-RevId: 4dbc9fceb7f45bd9450720f14286dfd90fbef8c2
10 lines
170 B
Kotlin
10 lines
170 B
Kotlin
// OUT_OF_CODE_BLOCK: FALSE
|
|
// ENABLE-WARNINGS
|
|
|
|
fun foo(s: String): Int {
|
|
return when (s) {
|
|
"hello" -> 0
|
|
"<caret>ello" -> 1
|
|
else -> 42
|
|
}
|
|
} |