0c939d2f86
Generally, using state.classFileVersion would be enough because we report an error when inlining bytecode into a class file with a lower target version (see INLINE_FROM_HIGHER_PLATFORM). However, we take maxOf with the original version of the class file, _just in case_ the user has suppressed this error (for example, to workaround some other corner case in the compiler). #KT-30744 Fixed
6 lines
50 B
Kotlin
Vendored
6 lines
50 B
Kotlin
Vendored
fun main() {
|
|
foo {
|
|
A.method()
|
|
}
|
|
}
|