[FIR2IR] Correctly calculate offsets for implicit toLong() calls during constant evaluation
^KT-58132 Fixed
This commit is contained in:
committed by
Space Team
parent
4fe239375f
commit
903e969598
@@ -0,0 +1,8 @@
|
||||
// ISSUE: KT-58132
|
||||
|
||||
const val hourInMilliseconds: Long = 60 * 60 * 1000
|
||||
|
||||
fun box(): String {
|
||||
val expected = 3600000L
|
||||
return if (hourInMilliseconds == expected) "OK" else "Fail: $hourInMilliseconds"
|
||||
}
|
||||
Reference in New Issue
Block a user