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
Right now the compiler treats this as "foo() is deprecated on all versions of all platforms" – that is, the * wins over the OSX.
In my opinion a more natural interpretation of the above is: "foo() was deprecated on OSX in version 10.10 and is deprecated for all versions on all other platforms." It appears the authors of the Dispatch overlay thought similarly, because they used the above annotations thinking it had this second meaning (see https://bugs.swift.org/browse/SR-2153).
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: d6a2209861fe8c82d20c93d3100634a2
cloned from:
Issue Description:
The current interpretation of * in @available is counter-intuitive and differs from its interpretation in #available.
Here is an example:
Right now the compiler treats this as "foo() is deprecated on all versions of all platforms" – that is, the * wins over the OSX.
In my opinion a more natural interpretation of the above is: "foo() was deprecated on OSX in version 10.10 and is deprecated for all versions on all other platforms." It appears the authors of the Dispatch overlay thought similarly, because they used the above annotations thinking it had this second meaning (see https://bugs.swift.org/browse/SR-2153).
The text was updated successfully, but these errors were encountered: