Skip to content

Commit 93837c0

Browse files
authored
Guard _postToFallbackEventHandler with an SWT_NO_INTEROP check. (#1610)
Missing a check for `SWT_NO_INTEROP`. Regressed in #1607. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 124669e commit 93837c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Testing/Events/Event+FallbackEventHandler.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ extension Event {
210210
#endif
211211
}
212212

213+
#if !SWT_NO_INTEROP
213214
/// The implementation of ``postToFallbackEventHandler(in:)`` that actually
214215
/// invokes the installed fallback event handler.
215216
///
@@ -239,4 +240,5 @@ extension Event {
239240
)
240241
}
241242
}()
243+
#endif
242244
}

0 commit comments

Comments
 (0)