warn about usages of final fields in another fields even if they appear after constructor where it would be definitely assigned (IDEA-114280)

This commit is contained in:
anna
2013-10-02 18:08:56 +02:00
parent 6d6b73b496
commit 7bf6e776a3
2 changed files with 7 additions and 3 deletions

View File

@@ -133,8 +133,8 @@ class c2 {
public c2() {
c = "";
}
// its ok
int k3 = c.length();
int k3 = <error descr="Variable 'c' might not have been initialized">c</error>.length();
c2(int i) {
this();