Files
kotlin-fork/compiler/testData/diagnostics/tests/modifiers/const/complexBooleanInStringConcat_after.fir.kt
T

9 lines
313 B
Kotlin
Vendored

// LANGUAGE: +ProhibitSimplificationOfNonTrivialConstBooleanExpressions
val nonConstBool = true
const val constBool = false
const val s1 = """ ${ true && false } """
const val s2 = <!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>""" ${ nonConstBool && false } """<!>
const val s3 = """ ${ constBool && false } """