wait … I can declare a `fun valueOf(name: String):...
# announcements
b
wait … I can declare a
fun valueOf(name: String): MyEnum
in MyEnum’s companion, and the compiler doesn’t complain.