FIR checker: report uninitialized member/extension properties
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
e8028e7825
commit
e009b71f88
+1
-1
@@ -10,6 +10,6 @@ class A {
|
||||
class B {
|
||||
val field: String = ""
|
||||
|
||||
val x: Int
|
||||
<!MUST_BE_INITIALIZED!>val x: Int<!>
|
||||
get() = field.<!UNRESOLVED_REFERENCE!>length<!> // should be an error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user