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.
unsafe
1 parent 3040894 commit 61b5337Copy full SHA for 61b5337
Tests/FoundationMacrosTests/BundleMacroTests.swift
@@ -31,7 +31,7 @@ private struct BundleMacroTests {
31
#elseif SWIFT_BUNDLE_LOOKUP_HELPER_AVAILABLE
32
return Bundle(for: __BundleLookupHelper.self)
33
#else
34
- return Bundle(_dsoHandle: #dsohandle) ?? .main
+ return unsafe Bundle(_dsoHandle: #dsohandle) ?? .main
35
#endif
36
}()
37
"""
@@ -53,7 +53,7 @@ private struct BundleMacroTests {
53
54
55
56
57
58
59
0 commit comments