mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
IDEA-91785 (sometimes extension method is abstract)
This commit is contained in:
@@ -47,4 +47,9 @@ class C {
|
||||
|
||||
class D {
|
||||
<error descr="Extension methods can only be used within an interface">void m()</error> default { }
|
||||
}
|
||||
|
||||
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 { }
|
||||
}
|
||||
Reference in New Issue
Block a user