mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
12 lines
164 B
Java
12 lines
164 B
Java
// "Cast argument to 'x'" "true-preview"
|
|
class x {}
|
|
class a extends x {
|
|
a(a a) {}
|
|
a(x x) {}
|
|
|
|
void f(Runnable r) {
|
|
new a(<caret>(x) r);
|
|
}
|
|
}
|
|
|