JS: fix crash when js function contains assignment with bad LHS
Fix KT-20905
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
fun Int.foo(x: Int) {
|
||||
js("this = x<!JSCODE_ERROR!><!>;")
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun kotlin.Int.foo(/*0*/ x: kotlin.Int): kotlin.Unit
|
||||
Reference in New Issue
Block a user