mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
12 lines
227 B
Kotlin
Vendored
12 lines
227 B
Kotlin
Vendored
// "Add remaining branches" "true"
|
|
// ERROR: Unresolved reference: TODO
|
|
// ERROR: Unresolved reference: TODO
|
|
enum class Color { R, G, B }
|
|
fun use(c: Color) {
|
|
<caret>when (c) {
|
|
Color.R -> red()
|
|
}
|
|
}
|
|
|
|
fun red() {}
|