KT-43562 don't remap static inline class funs as special builtins

This commit is contained in:
Dmitry Petrov
2020-11-25 11:54:48 +03:00
parent f6c7372089
commit 498047e64e
14 changed files with 152 additions and 2 deletions
@@ -0,0 +1,13 @@
// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
// IGNORE_BACKEND_FIR: JVM_IR
fun test() = uintArrayOf(1u).size
fun box(): String {
val test = test()
if (test != 1) return "Failed: $test"
return "OK"
}