JS: when translating content of js() function, rename all free references if they point to Kotlin local variable with the same name. See KT-15212
This commit is contained in:
committed by
Alexey Andreev
parent
5ee61702ee
commit
22ff7c6c45
@@ -32,7 +32,7 @@ public external fun js(code: String): dynamic = noImpl
|
||||
/**
|
||||
* Function corresponding to JavaScript's `typeof` operator
|
||||
*/
|
||||
public inline fun jsTypeOf(a: Any?): String = js("Kotlin").jsTypeOf(a)
|
||||
public inline fun jsTypeOf(a: Any?): String = js("typeof a")
|
||||
|
||||
@library
|
||||
internal fun deleteProperty(`object`: Any, property: Any): Unit = noImpl
|
||||
Reference in New Issue
Block a user