method refs: accept 2 phase acceptance (static and receiver based), raise 'staticAccess' errors at highlighting level

This commit is contained in:
Anna Kozlova
2013-08-30 12:53:02 +04:00
parent 8cb40bfdac
commit 75847497e5
16 changed files with 185 additions and 104 deletions

View File

@@ -10,7 +10,7 @@ class Test {
static abstract class Child extends Parent {
abstract int foo() ;
void test() {
I s = super::<error descr="Abstract method 'foo' cannot be accessed directly">foo</error>;
I s = <error descr="Abstract method 'foo' cannot be accessed directly">super::foo</error>;
I s1 = this::foo;
Parent sup = null;