7917e511ed
Also remove sinceVersion parameter from ApproximateIntegerLiteralTypesInReceiverPosition language feature ^KT-48992 Fixed
14 lines
308 B
Kotlin
Vendored
14 lines
308 B
Kotlin
Vendored
// !LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition
|
|
package test
|
|
|
|
annotation class Ann(
|
|
val b: Byte,
|
|
val s: Short,
|
|
val i: Int,
|
|
val l: Long
|
|
)
|
|
|
|
@Ann(1 + 1, 1 + 1, 1 + 1, 1 + 1) class MyClass
|
|
|
|
// EXPECTED: @Ann(b = 2.toByte(), i = 2, l = 2.toLong(), s = 2.toShort())
|