Karlo Lozovina
09/02/2020, 1:01 PMTODO("reason")
but meant just for unreachable `if`/`when` branches? (for example like Rust has unreachable!
macro do designate code paths that can't be taken)diesieben07
09/02/2020, 1:08 PMthrow IllegalStateException("description of why this is an illegal state")
is what I do usually.Karlo Lozovina
09/02/2020, 1:10 PMerror("reason")
does, right?diesieben07
09/02/2020, 1:11 PMMichael de Kaste
09/02/2020, 1:16 PMnanodeath
09/02/2020, 1:54 PM