-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix deprecation to introduction for publicHeadersDirectoryURL property #8870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
/cc @dschaefer2 - this is the one I reached out to @bripeticca about, if the deprecation is intended, happy to close this PR unmerged. |
@swift-ci please test |
Definitely looks like a cut/paste error. Thanks for spotting this! |
The linux smoke test failure reported in CI should be resolved by #8871. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is not correct. The copy-paste error was that it was marked deprecated, but it does need the availability annotation to say that it was introduced in 6.0.
So the change on this line should be to change "deprecated" to "introduced". You can infer the original intent in #7184 where the property was introduced.
@jakepetroules thanks! I'll update! |
@swift-ci please test |
Deprecation looks "incorrect" as it was added and deprecated at the same as the property
publicHeadersDirectory
, which I believe this was meant to replace.Motivation:
While updating the documentation, this stood out as added and deprecated, which seemed like a mistake.
Modifications:
reverted the deprecation of the publicHeadersDirectoryURL property
Result:
property is undeprecated