Evaluate apiVersionIsAtLeast on compile time while IR-inlining

IR inliner should evaluate `apiVersionIsAtLeast` on compile-time (except
cases of inlining to inline functions from kotlin runtime) just as
bytecode inliner does.

^KT-59291: Fixed
This commit is contained in:
vladislav.grechko
2023-06-17 16:31:06 +02:00
committed by Space Team
parent f4f9f1f8f8
commit 38e9dfc823
5 changed files with 118 additions and 12 deletions
@@ -2,7 +2,6 @@
// Wrong function resolution after package renaming
// IGNORE_BACKEND: ANDROID
// IGNORE_INLINER: IR
// FILE: 1.kt
package kotlin.internal