We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c69766 commit d78fee1Copy full SHA for d78fee1
Sources/JExtractSwiftLib/FFM/CDeclLowering/FFMSwift2JavaGenerator+FunctionLowering.swift
@@ -109,6 +109,11 @@ struct CdeclLowering {
109
)
110
}
111
112
+ for effect in signature.effectSpecifiers {
113
+ // Prohibit any effects for now.
114
+ throw LoweringError.effectNotSupported(effect)
115
+ }
116
+
117
// Lower the result.
118
let loweredResult = try lowerResult(signature.result.type)
119
@@ -642,4 +647,5 @@ extension LoweredFunctionSignature {
642
647
enum LoweringError: Error {
643
648
case inoutNotSupported(SwiftType)
644
649
case unhandledType(SwiftType)
650
+ case effectNotSupported(SwiftEffectSpecifier)
645
651
0 commit comments