I'm using kotlin 1.6.10. I thought it enforced exh...
# getting-started
c
I'm using kotlin 1.6.10. I thought it enforced exhaustive whens? I get this warning, but no error "Non exhaustive 'when' statements on enum will be prohibited in 1.7, add 'BLAH' branch or"
d
Errors will be reported on such whens in 1.7.0 Warning in 1.6 is nessesary because adding new error for previously correct language construction is a breakin change which turns green code to red without any warnings. And such lack of deprecation cycle (green code -> warning -> error) may prevent smoth migration from one major version of language to another
👍 2