[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
@@ -21,7 +21,7 @@ public enum E implements Base {
// 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
is E -> 3
@@ -29,7 +29,7 @@ fun test_ok_1(base: Base) {
}
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