Files
kotlin-fork/compiler/testData/resolveAnnotations/parameters/expressions/unaryMinus.kt
T
2015-07-04 04:46:23 +03:00

15 lines
398 B
Kotlin
Vendored

package test
annotation class Ann(
val b1: Byte,
val b2: Short,
val b3: Int,
val b4: Long,
val b5: Double,
val b6: Float
)
Ann(-1, -1, -1, -1, -1.0, -1.0.toFloat()) class MyClass
// EXPECTED: Ann(b1 = IntegerValueType(-1), b2 = IntegerValueType(-1), b3 = IntegerValueType(-1), b4 = IntegerValueType(-1), b5 = -1.0.toDouble(), b6 = -1.0.toFloat())