[FIR] Report UNINITIALIZED_VARIABLE for top-level properties
When checking top-level properties, check with initialization enabled. This makes sure the same errors are reported for member and top-level properties.
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
package a
|
||||
|
||||
val a : Int = <!UNINITIALIZED_VARIABLE!>b<!>
|
||||
val b : Int = a
|
||||
val b : Int = a
|
||||
|
||||
Reference in New Issue
Block a user