Skip to content

Commit

Permalink
Disfavor another unimplemented deprecation
Browse files Browse the repository at this point in the history
When XCTestDynamicOverlay and IssueReporting are both imported into a
file, the deprecated version takes precedence in certain situations,
triggering a warning. This PR should address.
  • Loading branch information
stephencelis committed Aug 24, 2024
1 parent 96beb10 commit e5b40c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/XCTestDynamicOverlay/Internal/Deprecations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public func unimplemented<Result>(
}
}

@_disfavoredOverload
@available(*, deprecated, renamed: "unimplemented(_:placeholder:)")
public func unimplemented<each Argument, Result>(
_ description: @autoclosure @escaping @Sendable () -> String = "",
Expand Down

0 comments on commit e5b40c1

Please sign in to comment.