mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
forbid native in interfaces (IDEA-140491)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
interface A {
|
||||
default <error descr="Modifier 'native' not allowed here">native</error> void m(){}
|
||||
static <error descr="Modifier 'native' not allowed here">native</error> void m1(){}
|
||||
<error descr="Modifier 'native' not allowed here">native</error> void m2();
|
||||
}
|
||||
Reference in New Issue
Block a user