Skip to content

Commit f99fc91

Browse files
committed
Qualify use of fatalError with Swift
Users can write a function called `fatalError` themselves, we should be resilient against that. resolves swiftlang/swift#68105 resolves #6846
1 parent 667a006 commit f99fc91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Build/BuildDescription/SwiftTargetBuildDescription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public final class SwiftTargetBuildDescription {
353353
let preferredBundle = Bundle(path: mainPath)
354354
355355
guard let bundle = preferredBundle ?? Bundle(path: buildPath) else {
356-
fatalError("could not load resource bundle: from \\(mainPath) or \\(buildPath)")
356+
Swift.fatalError("could not load resource bundle: from \\(mainPath) or \\(buildPath)")
357357
}
358358
359359
return bundle

0 commit comments

Comments
 (0)