// "Add else branch" "true" enum class Color { R, G, B } fun use(c: Color) { when (c) { Color.R -> red() } } fun red() {}