// "Add remaining branches" "true" // SHOULD_BE_AVAILABLE_AFTER_EXECUTION // ERROR: Unresolved reference: TODO // ERROR: Unresolved reference: TODO sealed class CommonSealedClass() class SInheritor1 : CommonSealedClass() class SInheritor2 : CommonSealedClass() fun hello(c: CommonSealedClass): Int = when(c) { is SInheritor1 -> TODO() is SInheritor2 -> TODO() }