<https://blog.frankel.ch/avoid-stringly-typed-kotl...
# feed
n
r
The limitation is we need to define all subclasses of a sealed class in the same file.
This restriction was loosened in Kotlin 1.5 and now sealed subclasses can be in separate files in the same package https://kotlinlang.org/docs/whatsnew15.html#package-wide-sealed-class-hierarchies
👍 3
🤝 1
n
thanks @russhwolf i fixed it
👍 1