Ben
05/18/2020, 12:28 PMState state = State.Empty; gives "expression expected". Am I missing something obvious?
sealed class State() {
object Empty : State()
...
}diesieben07
05/18/2020, 12:29 PMgetINSTANCE() methodBen
05/18/2020, 12:31 PM.INSTANCE() was what I was looking for