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
12 lines
346 B
Kotlin
Vendored
12 lines
346 B
Kotlin
Vendored
package test
|
|
|
|
annotation class Ann(
|
|
val l1: Long,
|
|
val l2: Long,
|
|
val l3: Long
|
|
)
|
|
|
|
@Ann(1 + 1, <!INTEGER_OVERFLOW!><!INTEGER_OVERFLOW!>java.lang.Long.MAX_VALUE + 1<!> - 1<!>, java.lang.Long.MAX_VALUE - 1) class MyClass
|
|
|
|
// EXPECTED: @Ann(l1 = 2.toLong(), l2 = 9223372036854775807.toLong(), l3 = 9223372036854775806.toLong())
|