[FIR JS] Implement FirJsExportDeclarationChecker

This commit is contained in:
Nikolay Lunyak
2023-01-27 15:22:17 +02:00
parent 624162dc07
commit f644eb7988
38 changed files with 450 additions and 115 deletions
@@ -42,7 +42,7 @@ object JsStandardClassIds {
val JsExport = "JsExport".jsId()
@JvmField
val JsExportIgnore = ClassId(JsExport.asSingleFqName(), Name.identifier("Ignore"))
val JsExportIgnore = JsExport.createNestedClassId(Name.identifier("Ignore"))
@JvmField
val annotationsRequiringExternal = setOf(JsModule, JsQualifier)
@@ -40,7 +40,6 @@ interface TypeSystemCommonBackendContext : TypeSystemContext {
fun KotlinTypeMarker.makeNullable(): KotlinTypeMarker =
asSimpleType()?.withNullability(true) ?: this
fun TypeConstructorMarker.getPrimitiveType(): PrimitiveType?
fun TypeConstructorMarker.getPrimitiveArrayType(): PrimitiveType?