3cffb33ab7
This feature is not needed because it is unconditionally disabled for K1 (because of not fully correct implementation) and unconditionally enabled in K2 (K2 does not support old behavior) ^KT-38895
13 lines
330 B
Kotlin
Vendored
13 lines
330 B
Kotlin
Vendored
package test
|
|
|
|
annotation class Ann(
|
|
val b: Byte,
|
|
val s: Short,
|
|
val i: Int,
|
|
val l: Long
|
|
)
|
|
|
|
@Ann(<!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 + 1<!>, <!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 + 1<!>, 1 + 1, 1 + 1) class MyClass
|
|
|
|
// EXPECTED: @Ann(b = 2.toByte(), i = 2, l = 2.toLong(), s = 2.toShort())
|