Support full pipeline for basic kotlinx.serialization case:
FIR frontend and IR backend plugins. Note: IR plugin is now broken for old FE, fixed in subsequent commits
This commit is contained in:
+1
@@ -294,6 +294,7 @@ internal fun IrPluginContext.getArrayConstructorSymbol(
|
||||
): IrConstructorSymbol {
|
||||
val jsArrayName = irType.getArrayClassFqName()
|
||||
return try {
|
||||
@Suppress("DEPRECATION") // caution: referenceConstructors(fqName) doesn't work with FIR
|
||||
referenceConstructors(jsArrayName).single(predicate)
|
||||
} catch (e: RuntimeException) {
|
||||
error("Array constructor $jsArrayName matching the predicate was not found in the context")
|
||||
|
||||
Reference in New Issue
Block a user