Files
kotlin-fork/compiler/testData/diagnostics/tests/nonConstNotCall.fir.kt
T
Ivan Kylchik f8e9e99d87 [K2] Allow using simple boolean expressions in constant position
Such behavior is not the same as in K1, but it is more consistent.

#KT-64400 Fixed
2024-01-16 09:57:52 +00:00

4 lines
77 B
Kotlin
Vendored

// ISSUE: KT-55196
const val bb: Boolean = !false // Red in K1, green in K2