Open dkhalanskyjb opened 6 months ago
I actually don't remember us discussing this change. We mentioned this issue recently while discussing UUIDs and whether to make them type aliases on the JVM.
If you have doubts about this change, we can hold a meeting. What led me to go and implement this is that expect enum
s in common code are still non-exhaustive, which I think looks extremely strange.
Yes, there are some arguments for this change, like exhaustiveness of matching over expected enum entries and being able to provide companion for static extensions (though these shortcomings will be eventually fixed in Kotlin). On the other hand, this is a binary breaking change.
Fixes #96