Any idea what following error typically indicates?...
# swift-export
j
Any idea what following error typically indicates?
Copy code
Execution failed for task ':common:iosSimulatorArm64DebugSwiftExport'.

> A failure occurred while executing org.jetbrains.kotlin.gradle.plugin.mpp.apple.swiftexport.internal.SwiftExportAction

   > Attempt to bridge functional type as invariant: org.jetbrains.kotlin.sir.SirFunctionalType@5198f7d8
a
Invariant - means that the type is used not as co(ntr)variamt SirFunctionalType - the type is functional Basically there is something like
Flow<()-Unit>
, or
typealias X = ()->Unit
. That's two examples of invariant position of functional type. The second one should work, I'm sure there is a test for it. The first one I'm not sure...
👍 1