[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:
+1
@@ -34,6 +34,7 @@ class ControlFlowGraph(val declaration: FirDeclaration?, val name: String, val k
|
||||
enum class Kind {
|
||||
File,
|
||||
Class,
|
||||
Constructor,
|
||||
Function,
|
||||
LocalFunction,
|
||||
AnonymousFunction,
|
||||
|
||||
Reference in New Issue
Block a user