method refs: static testdata, apply qualifier substitutor

This commit is contained in:
anna
2012-09-27 19:25:40 +02:00
parent b130fcba63
commit ac4a96fc03
5 changed files with 47 additions and 1 deletions

View File

@@ -19,3 +19,18 @@ class MyTest {
new B().m(10);
}
}
class MyTest1 {
interface I {
void m();
}
void call(I s) {}
I i = <error descr="Cannot resolve symbol 'NonExistentType'">NonExistentType</error>::m;
{
call(<error descr="Cannot resolve symbol 'NonExistentType'">NonExistentType</error>::m);
}
}