[fixes #2752] Save problem handler state for postponed error handling

This commit is contained in:
Rawi01
2021-02-17 09:41:08 +01:00
parent ed4ced1a3b
commit 0106746e60
5 changed files with 48 additions and 0 deletions
@@ -0,0 +1,18 @@
//issue #2752: this test triggers an indirect static access and a non static access warning for the same method call
//platform ecj,eclipse
class ExtensionMethodNonStaticAccess {
public void method(){
Derived derived = new Derived();
derived.staticMethod();
}
}
class Base {
static String staticMethod() {
return "";
}
}
class Derived extends Base {
}