We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 0df819b3842f101923c78bdfa4d29780
Issue Description:
According to https://developer.apple.com/documentation/foundation/unit/1690760-init
Unit.init(symbol:)
should not have a required modifier as it does here:
required
swift-corelibs-foundation/Foundation/Unit.swift
Line 155 in e1071a9
However removing the modifier leads to other issues:
This line
swift-corelibs-foundation/Foundation/Measurement.swift
Line 324 in e1071a9
The text was updated successfully, but these errors were encountered:
cc @millenomi
Sorry, something went wrong.
This is an acceptable break from Darwin API as it allows the whole to work; Darwin is fundamentally violating constructor assumptions here.
No branches or pull requests
Additional Detail from JIRA
md5: 0df819b3842f101923c78bdfa4d29780
Issue Description:
According to https://developer.apple.com/documentation/foundation/unit/1690760-init
should not have a
required
modifier as it does here:swift-corelibs-foundation/Foundation/Unit.swift
Line 155 in e1071a9
However removing the modifier leads to other issues:
This line
swift-corelibs-foundation/Foundation/Measurement.swift
Line 324 in e1071a9
The text was updated successfully, but these errors were encountered: