[JS IR] Allow to export enum classes

^KT-37916 fixed
^KT-44494 fixed
This commit is contained in:
Ilya Goncharov
2021-10-21 15:25:06 +03:00
committed by Space
parent 196dc6b071
commit c7bec4c6c4
@@ -109,7 +109,6 @@ object JsExportDeclarationChecker : DeclarationChecker {
}
val wrongDeclaration: String? = when (descriptor.kind) {
ENUM_CLASS -> "enum class"
INTERFACE -> if (descriptor.isExternal) null else "interface"
ANNOTATION_CLASS -> "annotation class"
CLASS -> if (descriptor.isInlineClass()) {