[K/N] Transform FunctionReference without bound values to ConstantValue
This commit is contained in:
@@ -8,8 +8,9 @@ import kotlin.native.concurrent.*
|
||||
import kotlin.native.internal.*
|
||||
|
||||
fun mainLegacyMM() {
|
||||
val wrong = "wrong"
|
||||
assertFailsWith<InvalidMutabilityException> {
|
||||
setUnhandledExceptionHook { _ -> println("wrong") }
|
||||
setUnhandledExceptionHook { _ -> println(wrong) }
|
||||
}
|
||||
|
||||
val x = 42
|
||||
|
||||
Reference in New Issue
Block a user