is there another way to force a compile error on `...
# announcements
r
is there another way to force a compile error on
when
when it is not exhaustive other than using it as expression (e.g. assign it to a variable)?
d
you can add
.let {}
after your
when
(but this is like using it as expresison)
r
exactly, I figured maybe there is an annotation or somehting