IDEA-91665 (highlight extension methods outside interfaces)

This commit is contained in:
Roman Shevchenko
2012-09-17 17:12:37 +04:00
parent 27079e6adf
commit f51b828729
3 changed files with 13 additions and 3 deletions

View File

@@ -43,4 +43,8 @@ class C {
}
}.m();
}
}
class D {
<error descr="Extension methods can only be used within an interface">void m()</error> default { }
}