[java-highlighting] IDEA-324552 Create missing switch branch produces incorrect code

GitOrigin-RevId: 256fd781c3534a0a0a1902b627da0142608a7f1d
This commit is contained in:
Mikhail Pyltsin
2023-07-08 13:44:59 +00:00
committed by intellij-monorepo-bot
parent 424001aef5
commit 45d3ec5af9
3 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
// "Create missing branches: 'Pair<I>(D x, C y)', and 'Pair<I>(C x, C y)'" "true-preview"
// "Create missing branches: 'Pair<I>(C x, C y)', and 'Pair<I>(D x, C y)'" "true-preview"
sealed interface I permits C, D {}
final class C implements I {}
final class D implements I {}
@@ -1,4 +1,4 @@
// "Create missing branches: 'Pair<I>(D x, C y)', and 'Pair<I>(C x, C y)'" "true-preview"
// "Create missing branches: 'Pair<I>(C x, C y)', and 'Pair<I>(D x, C y)'" "true-preview"
sealed interface I permits C, D {}
final class C implements I {}
final class D implements I {}
@@ -1,4 +1,4 @@
// "Create missing branches: 'Pair<I>(D x, C y)', and 'Pair<I>(C x, C y)'" "true-preview"
// "Create missing branches: 'Pair<I>(C x, C y)', and 'Pair<I>(D x, C y)'" "true-preview"
sealed interface I permits C, D {}
final class C implements I {}
final class D implements I {}