mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
12 lines
157 B
Java
12 lines
157 B
Java
// "Cast parameter to 'x'" "true"
|
|
class x {}
|
|
class a extends x {
|
|
a(a a) {}
|
|
a(x x) {}
|
|
|
|
void f(Runnable r) {
|
|
new a(<caret>(x) r);
|
|
}
|
|
}
|
|
|