Too bad it's annotation processor and not compiler plugin. So only jvm is supported.
11/03/2020, 6:15 PM
It started out internally as an annotation processor for Android projects, so the JVM limitation wasn’t an issue, but I’m definitely interested in the possibility of making it multiplatform.
A #ksp version is currently in the works and available experimentally (https://github.com/livefront/sealed-enum/pull/32), which could lead to multiplatform support.
A compiler plugin would also open up the possibility for a more integrated API by rewriting code (making the sealed class directly implement