[JS IR] Not export fun with stable name and default argument

if it is not exported, but just with stable name

^KT-50464 fixed

Merge-request: KT-MR-5324
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>
This commit is contained in:
Ilya Goncharov
2021-12-23 15:21:00 +00:00
committed by Space
parent 61e0375900
commit 52ccf3d6ec
2 changed files with 7 additions and 2 deletions
@@ -30,6 +30,9 @@ class Class
external interface ExternalInterface
@JsName("bbb")
fun zzz(x: Int = 10) {}
// FILE: file2.kt
@file:JsExport