Files
Ivan Kylchik fba0bd79ad [K2] Don't crash compiler if receiver on property wasn't evaluated
Compilation crash must be handled separately in
`convertToConstantValues` method because we still want successfully
compile common code. All constants will be evaluated later on
fir2ir phase.

#KT-59362 Fixed
2023-06-27 08:51:39 +00:00

7 lines
170 B
Kotlin
Vendored

const val DOUBLE_BATCH_SIZE = 2 * BATCH_SIZE
const val REPLACEMENT_BYTE_AS_INT = REPLACEMENT_BYTE.toInt()
annotation class A(val value: Int)
@A(BATCH_SIZE)
fun bar() {}