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

15 lines
350 B
Kotlin
Vendored

// FIR_IDENTICAL
// !LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
package test
annotation class Ann(
val b1: Boolean,
val b2: Boolean,
val b3: Boolean,
val b4: Boolean
)
@Ann(1 <= 2, 1.0 <= 2.0, 1 <= 1, 1.0 <= 1.0) class MyClass
// EXPECTED: @Ann(b1 = true, b2 = true, b3 = true, b4 = true)