mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
12 lines
268 B
Java
12 lines
268 B
Java
// "Create missing switch branch 'Test.Cl1'" "true-preview"
|
|
class Test {
|
|
interface II1{}
|
|
sealed interface II2{}
|
|
non-sealed class Cl1 implements II2{}
|
|
public <T extends II1 & II2> void test(T c) {
|
|
switch (c) {
|
|
case Cl1 cl1 -> {
|
|
}
|
|
}
|
|
}
|
|
} |