[FIR] Add checker for uninitialized properties

This commit is contained in:
Dmitriy Novozhilov
2020-06-17 11:51:15 +03:00
parent 25621d699b
commit 26458875d5
96 changed files with 1476 additions and 1358 deletions
@@ -15,7 +15,7 @@ val o = object {
p.x = 4
val z : Int
doSmth(z)
doSmth(<!UNINITIALIZED_VARIABLE!>z<!>)
}
}
@@ -28,7 +28,7 @@ class A {
val a : Int = 1
get() {
val x : Int
doSmth(x)
doSmth(<!UNINITIALIZED_VARIABLE!>x<!>)
return field
}
}