fix(Kotlin/JS IR): nested comments in implicit export.
This commit is contained in:
@@ -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))
|
||||
Reference in New Issue
Block a user