nfrankel
02/20/2022, 5:00 PMrusshwolf
02/20/2022, 7:24 PMThe 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
nfrankel
02/21/2022, 12:28 PM