[FIR JS] Add more tests for JS_NAME_CLASH diagnostic

^KT-61862 Related
This commit is contained in:
Alexander Korepanov
2023-09-12 14:20:35 +02:00
committed by Space Team
parent 98fdaeb9a7
commit f07028959d
7 changed files with 125 additions and 0 deletions
@@ -0,0 +1,6 @@
// KJS_WITH_FULL_RUNTIME
import kotlin.js.Promise
public class MyPromise(executor: ((Unit) -> Unit, (Throwable) -> Unit) -> Unit) : Promise<Unit>(executor)
fun box() = "OK"