[FIR] Approximate all integer literals which resolved in independent mode
#KT-42016
This commit is contained in:
+2
-2
@@ -5,9 +5,9 @@ fun <T> consumeLongAndMaterialize(x: Long): T = null as T
|
||||
fun consumeAny(x: Any) = x
|
||||
|
||||
fun main() {
|
||||
consumeAny(consumeLongAndMaterialize(3 * 1000))
|
||||
consumeAny(consumeLongAndMaterialize(3l * 1000))
|
||||
|
||||
if (true) {
|
||||
consumeLongAndMaterialize(3 * 1000)
|
||||
consumeLongAndMaterialize(3l * 1000)
|
||||
} else true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user