Skip to content

Commit

Permalink
Fix an issue that cause compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroboron committed Nov 22, 2024
1 parent ed4b283 commit 699e881
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ struct TargetSourcesChecker: BuildToolPlugin, XcodeBuildToolPlugin {
}
}

extension File: @retroactive Equatable, @retroactive Hashable {
// Explicitely use module name to silence warning for protocol conformance for protocols defined in an external library.
// We run e2e tests on Xcode 15 so we can't use @retroactive keyword.
// More info at https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md
extension File: Swift.Equatable, Swift.Hashable {
public static func == (lhs: File, rhs: File) -> Bool {
lhs.path == rhs.path && lhs.type == rhs.type
}
Expand Down

0 comments on commit 699e881

Please sign in to comment.