mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[java] more tests
GitOrigin-RevId: cadfc50eb18ecb5db9f1a7c7622e76b7ea220b8c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d0c57ae46f
commit
4bbfaee267
@@ -8,6 +8,8 @@ class X {
|
||||
case null -> 10;
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error>() -> 5;
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error>(double x, double y) -> 6;
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error>() point -> 7;
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error>(double x, double y) point -> 8;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,13 +26,25 @@ class X {
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error><?>() -> {}
|
||||
}
|
||||
|
||||
switch (point1) {
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error><?>() point -> {}
|
||||
}
|
||||
|
||||
switch (point1) {
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error><? extends String>() -> {}
|
||||
}
|
||||
|
||||
switch (point1) {
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error><? extends String>() point -> {}
|
||||
}
|
||||
|
||||
switch (point2) {
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error><? super String>() -> {}
|
||||
}
|
||||
|
||||
switch (point2) {
|
||||
case <error descr="Cannot resolve symbol 'Point'">Point</error><? super String>() point -> {}
|
||||
}
|
||||
}
|
||||
|
||||
int instanceofTest(Object obj) {
|
||||
|
||||
Reference in New Issue
Block a user