FIR checker: report uninitialized member/extension properties
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
e8028e7825
commit
e009b71f88
+2
-2
@@ -1,5 +1,5 @@
|
||||
class A0 {
|
||||
val x: Int
|
||||
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>val x: Int<!>
|
||||
constructor() {
|
||||
if (1 == 1) {
|
||||
return
|
||||
@@ -12,7 +12,7 @@ class A0 {
|
||||
}
|
||||
|
||||
class A1 {
|
||||
val x: Int
|
||||
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>val x: Int<!>
|
||||
constructor() {
|
||||
if (1 == 1) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user