Enumerating subclasses of a sealed class


#1

Is there a way to get all the subclasses of a sealed class? If not, should there be?


#2

No, but there should be: https://youtrack.jetbrains.com/issue/KT-14657