method refs: turn highlighting on; check valid context

This commit is contained in:
anna
2012-09-25 19:47:01 +02:00
parent d2af36382c
commit a617afe1fe
4 changed files with 54 additions and 7 deletions
@@ -22,7 +22,7 @@ class C {
void use(Simplest s) { }
void test() {
Simplest simplest = <weak_warning descr="Method references type check is not yet implemented">this::simplest</weak_warning>;
use(<weak_warning descr="Method references type check is not yet implemented">this::simplest</weak_warning>);
Simplest simplest = this::simplest;
use(this::simplest);
}
}