Files
kotlin-fork/compiler/testData/diagnostics/tests/controlFlowAnalysis/propertiesOrderInPackage.kt
T
Brian Norman 4b6c767704 [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.
2023-09-19 13:42:54 +00:00

6 lines
89 B
Kotlin
Vendored

// FIR_IDENTICAL
package a
val a : Int = <!UNINITIALIZED_VARIABLE!>b<!>
val b : Int = a