Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/parameters/expressions/boolean.kt
T

14 lines
322 B
Kotlin
Vendored

// FIR_IDENTICAL
// !LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
package test
annotation class Ann(
val b1: Boolean,
val b2: Boolean,
val b3: Boolean
)
@Ann(true and false, false or true, true xor false) class MyClass
// EXPECTED: @Ann(b1 = false, b2 = true, b3 = true)