fix(Kotlin/JS IR): nested comments in implicit export.

This commit is contained in:
Artem Kobzar
2022-02-04 10:55:52 +00:00
committed by Space
parent a80d01265a
commit 5223efd3f1
3 changed files with 132 additions and 113 deletions
@@ -31,5 +31,11 @@ declare namespace JS_TESTS {
class F extends foo.A /* implements foo.NonExportedInterface */ {
constructor();
}
class G /* implements foo.NonExportedGenericInterface<foo.NonExportedType> */ {
constructor();
}
class H /* extends foo.NonExportedGenericType<foo.NonExportedType> */ {
constructor();
}
}
}
@@ -9,7 +9,9 @@
package foo
interface NonExportedInterface
interface NonExportedGenericInterface<T>
open class NonExportedType(val value: Int)
open class NonExportedGenericType<T>(val value: T)
@JsExport
interface ExportedInterface
@@ -44,4 +46,10 @@ class D : NonExportedInterface, ExportedInterface
class E : NonExportedType(42), ExportedInterface
@JsExport
class F : A(NonExportedType(42)), NonExportedInterface
class F : A(NonExportedType(42)), NonExportedInterface
@JsExport
class G : NonExportedGenericInterface<NonExportedType>
@JsExport
class H : NonExportedGenericType<NonExportedType>(NonExportedType(42))