mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
10 lines
239 B
Java
10 lines
239 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<caret>) {
|
|
}
|
|
}
|
|
} |