mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Extension methods aren't abstract
This commit is contained in:
+6
-2
@@ -13,9 +13,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class C {
|
||||
interface I {
|
||||
<error descr="Interface methods cannot have body">void m1()</error> { }
|
||||
void m2() default { }
|
||||
void m() default { }
|
||||
}
|
||||
|
||||
void test() {
|
||||
new I(){}.m();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user