mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-highlighting] IDEA-324552 Create missing switch branch produces incorrect code
GitOrigin-RevId: 256fd781c3534a0a0a1902b627da0142608a7f1d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
424001aef5
commit
45d3ec5af9
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user