Join Slack
Powered by
is there another way to force a compile error on `...
# announcements
r
robstoll
09/13/2018, 3:37 PM
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
dany
09/13/2018, 3:38 PM
you can add
.let {}
after your
when
dany
09/13/2018, 3:38 PM
(but this is like using it as expresison)
r
robstoll
09/13/2018, 3:40 PM
exactly, I figured maybe there is an annotation or somehting
3
Views
Open in Slack
Previous
Next