Skip to content
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

[SR-1887] macOS Sierra name change affects "available" #44496

Closed
swift-ci opened this issue Jun 23, 2016 · 7 comments
Closed

[SR-1887] macOS Sierra name change affects "available" #44496

swift-ci opened this issue Jun 23, 2016 · 7 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1887
Radar rdar://problem/28814470
Original Reporter erica (JIRA User)
Type Bug
Status In Progress
Resolution
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: ff9a0765d0b173642c78b0def239a6da

is duplicated by:

  • SR-11424 Change availability message from "OS X" to "OSX"

relates to:

  • SR-1823 Alias OSX to macOS for conditional compilation blocks os() test

Issue Description:

Add macOS and macOSApplicationExtension aliases for the platform names used by @available and #available.

Proposal: SE-0106

@belkadan
Copy link
Contributor

I personally think that we should keep aliases for all of these, rather than renames. At the very least we need to parse the old name and produce a diagnostic.

@belkadan
Copy link
Contributor

belkadan commented Jul 7, 2016

#3395

@belkadan
Copy link
Contributor

belkadan commented Jul 8, 2016

Merged in b9adb29.

@swift-ci
Copy link
Collaborator Author

Comment by Myke Olson (JIRA)

@swift-ci create

@belkadan
Copy link
Contributor

belkadan commented Mar 6, 2018

The remaining work here is changing which name is used as the default, in diagnostics and such.

@benrimmington
Copy link
Collaborator

@@belkadan, does apple/swift#12674 need to be merged before ABI or module stability?

@belkadan
Copy link
Contributor

We should pick that up, but no. We'll continue accepting the old names forever because of source compatibility.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

4 participants