[JS] Support secondary constructors in JsExport

This commit is contained in:
Svyatoslav Kuzmich
2020-05-20 18:00:03 +03:00
parent f128e5222a
commit 695d383ed1
14 changed files with 233 additions and 17 deletions
+3
View File
@@ -1,5 +1,8 @@
// EXPECTED_REACHABLE_NODES: 1291
// TODO: Support JsExport on object declarations: KT-39117
// IGNORE_BACKEND: JS_IR
@JsExport
object A {
@JsName("js_f") fun f(x: Int) = "f($x)"