[K/JS] Include protected member declarations into checked by JsExportDeclarationChecker declarations ^Fixed KT-55786
This commit is contained in:
Vendored
+6
-1
@@ -12,4 +12,9 @@ class C(val x: String) {
|
||||
class C2(val x: String) {
|
||||
@JsName("JsNameProvided")
|
||||
constructor(x: Int): this(x.toString())
|
||||
}
|
||||
}
|
||||
|
||||
@JsExport
|
||||
class C3(val x: String) {
|
||||
protected <!WRONG_EXPORTED_DECLARATION("secondary constructor without @JsName")!>constructor(x: Int)<!>: this(x.toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user