[FE] Temporary disable exhaustiveness checker for java sealed classes

KT-43551
KT-41215
This commit is contained in:
Dmitriy Novozhilov
2020-11-24 12:30:37 +03:00
committed by TeamCityServer
parent 1c9f9130e6
commit f8d6f79c17
7 changed files with 12 additions and 11 deletions
@@ -16,14 +16,14 @@ public sealed class B extends Base permits B.C, B.D {
// FILE: main.kt
fun test_ok_1(base: Base) {
val x = when (base) {
val x = <!NO_ELSE_IN_WHEN!>when<!> (base) {
is A -> 1
is B -> 2
}
}
fun test_ok_2(base: Base) {
val x = when (base) {
val x = <!NO_ELSE_IN_WHEN!>when<!> (base) {
is A -> 1
is B.C -> 2
is B.D -> 3