FIR: introduce three diagnostics for const val
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cc106085e2
commit
334d0a8b5a
compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/differentKindsOfProperties.fir.kt
Vendored
+1
-1
@@ -26,7 +26,7 @@ expect var customAccessorVar: String
|
||||
get() = "no"
|
||||
set(value) {}
|
||||
|
||||
expect const val constVal: Int
|
||||
expect <!CONST_VAL_WITHOUT_INITIALIZER!>const<!> val constVal: Int
|
||||
|
||||
expect <!EXPECTED_LATEINIT_PROPERTY!>lateinit<!> var lateinitVar: String
|
||||
|
||||
|
||||
Reference in New Issue
Block a user