[JS IR] Allow to export enum classes
^KT-37916 fixed ^KT-44494 fixed
This commit is contained in:
-1
@@ -109,7 +109,6 @@ object JsExportDeclarationChecker : DeclarationChecker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val wrongDeclaration: String? = when (descriptor.kind) {
|
val wrongDeclaration: String? = when (descriptor.kind) {
|
||||||
ENUM_CLASS -> "enum class"
|
|
||||||
INTERFACE -> if (descriptor.isExternal) null else "interface"
|
INTERFACE -> if (descriptor.isExternal) null else "interface"
|
||||||
ANNOTATION_CLASS -> "annotation class"
|
ANNOTATION_CLASS -> "annotation class"
|
||||||
CLASS -> if (descriptor.isInlineClass()) {
|
CLASS -> if (descriptor.isInlineClass()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user