mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-25 01:34:09 +07:00
10 lines
173 B
Java
10 lines
173 B
Java
// "Make 'Interface.f()' static" "true-preview"
|
|
abstract interface Interface {
|
|
static int f() {
|
|
return 0;
|
|
}
|
|
|
|
static void y() {
|
|
f(); // <- Error
|
|
}
|
|
} |