You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are increasingly treating "macOS" as the canonical name of the Apple desktop/notebook platform and "OS X" as a backwards-compatibility alias. For example, in SE-0106 we introduced "macOS" as an alias for "OS X" in Swift source, and in apple/swift#24334 we will change error messages to refer to "macOS" instead of "OS X". However, internally the compiler still thinks of this platform as "PlatformKind::OSX" and "macOS" as just a funny alias for it; getting it to produce "macOS" instead of "OSX" in various circumstances requires special exceptions.
We should reverse the polarity here by making "macOS" the real name of the platform and "OSX" the alias. But we should probably delay this until a point where we don't have a release branch to keep in sync to avoid unnecessary pain.
The text was updated successfully, but these errors were encountered:
brentdax (JIRA User) I would like to take this ticket, this is my second ticket for swift. Any suggestion on how to tackle this?. I suppose that i need to start in lib/Basic/LangOptions.cpp
Additional Detail from JIRA
md5: 01de60e7f0a57c1fbb96393d5c8c9ef4
Issue Description:
We are increasingly treating "macOS" as the canonical name of the Apple desktop/notebook platform and "OS X" as a backwards-compatibility alias. For example, in SE-0106 we introduced "macOS" as an alias for "OS X" in Swift source, and in apple/swift#24334 we will change error messages to refer to "macOS" instead of "OS X". However, internally the compiler still thinks of this platform as "PlatformKind::OSX" and "macOS" as just a funny alias for it; getting it to produce "macOS" instead of "OSX" in various circumstances requires special exceptions.
We should reverse the polarity here by making "macOS" the real name of the platform and "OSX" the alias. But we should probably delay this until a point where we don't have a release branch to keep in sync to avoid unnecessary pain.
The text was updated successfully, but these errors were encountered: