mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Switch to new extension method syntax
This commit is contained in:
@@ -50,6 +50,15 @@ class D {
|
||||
}
|
||||
|
||||
interface IllegalMods {
|
||||
<error descr="Illegal combination of modifiers: 'static' and 'abstract'">static</error> void sm1();
|
||||
<error descr="Illegal combination of modifiers: 'static' and 'abstract'">static</error> void sm2() default { }
|
||||
<error descr="Illegal combination of modifiers: 'static' and 'abstract'">static</error> void m1();
|
||||
<error descr="Illegal combination of modifiers: 'static' and 'default'">static</error> void m2() default { }
|
||||
<error descr="Illegal combination of modifiers: 'static' and 'default'">static</error> <error descr="Illegal combination of modifiers: 'default' and 'static'">default</error> void m3() { }
|
||||
|
||||
<error descr="Illegal combination of modifiers: 'abstract' and 'default'">abstract</error> void m4() default { }
|
||||
<error descr="Illegal combination of modifiers: 'abstract' and 'default'">abstract</error> <error descr="Illegal combination of modifiers: 'default' and 'abstract'">default</error> void m5() { }
|
||||
|
||||
<error descr="Extension method should have a body">default void m6()</error>;
|
||||
|
||||
<error descr="Modifier 'default' not allowed here">default</error> int i;
|
||||
<error descr="Modifier 'default' not allowed here">default</error> interface X { }
|
||||
}
|
||||
Reference in New Issue
Block a user