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

15 lines
352 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 = false, b2 = false, b3 = true, b4 = true)