[JS IR BE]: make deleteProperty non-inline due to new inliner limitations
This commit is contained in:
committed by
Anton Bannykh
parent
e2bf43c54f
commit
995ac7aac2
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package kotlin.collections
|
||||
|
||||
// Copied from libraries/stdlib/js/src/kotlin/collections/utils.kt
|
||||
// Current inliner doesn't rename symbols inside `js` fun
|
||||
@Suppress("UNUSED_PARAMETER")
|
||||
internal fun deleteProperty(obj: Any, property: Any) {
|
||||
js("delete obj[property]")
|
||||
}
|
||||
Reference in New Issue
Block a user