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 db0b5db commit 42a55abCopy full SHA for 42a55ab
lib/IRGen/GenThunk.cpp
@@ -153,7 +153,8 @@ void IRGenThunk::prepareArguments() {
153
auto &resultSchema = resultTI.nativeReturnValueSchema(IGF.IGM);
154
155
if (resultSchema.requiresIndirect() ||
156
- errorSchema.shouldReturnTypedErrorIndirectly()) {
+ errorSchema.shouldReturnTypedErrorIndirectly() ||
157
+ conv.hasIndirectSILResults()) {
158
auto directTypedErrorAddr = original.takeLast();
159
IGF.setCalleeTypedErrorResultSlot(Address(directTypedErrorAddr,
160
errorTI.getStorageType(),
0 commit comments