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