dd264cff50
In this commit we have a lot of change in test data. This was caused by the way where we evaluate constants. We split constant evaluation into two distinct parts: only necessary evaluations for `fir2ir` (like const val and annotations) and optimizations for lowering. Now we don't do all constant evaluation on `fir2ir`, but IR dump is executed after this phase, so test data changed. #KT-58923
68 lines
685 B
Kotlin
Vendored
68 lines
685 B
Kotlin
Vendored
val test1: Int
|
|
field = 1
|
|
get
|
|
|
|
val test2: Int
|
|
field = -1
|
|
get
|
|
|
|
val test3: Boolean
|
|
field = true
|
|
get
|
|
|
|
val test4: Boolean
|
|
field = false
|
|
get
|
|
|
|
val test5: String
|
|
field = "abc"
|
|
get
|
|
|
|
val test6: Nothing?
|
|
field = null
|
|
get
|
|
|
|
val test7: Long
|
|
field = 1L
|
|
get
|
|
|
|
val test8: Long
|
|
field = 1L.unaryMinus()
|
|
get
|
|
|
|
val test9: Double
|
|
field = 1.0
|
|
get
|
|
|
|
val test10: Double
|
|
field = 1.0.unaryMinus()
|
|
get
|
|
|
|
val test11: Float
|
|
field = 1.0F
|
|
get
|
|
|
|
val test12: Float
|
|
field = 1.0F.unaryMinus()
|
|
get
|
|
|
|
val test13: Char
|
|
field = 'a'
|
|
get
|
|
|
|
val testB: Byte
|
|
field = 1B
|
|
get
|
|
|
|
val testS: Short
|
|
field = 1S
|
|
get
|
|
|
|
val testI: Int
|
|
field = 1
|
|
get
|
|
|
|
val testL: Long
|
|
field = 1L
|
|
get
|