FIR: don't report CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT on variables

This commit is contained in:
Mikhail Glukhikh
2021-03-04 11:56:19 +03:00
parent dd3bc1a964
commit d7a6fc80b0
5 changed files with 7 additions and 9 deletions
@@ -38,5 +38,5 @@ object F {
}
fun foo() {
<!CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT!>const<!> val a = "2"
const val a = "2"
}