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
Apple Swift version 3.0.2 (swiftlang-800.0.61 clang-800.0.42.1) Target: x86_64-apple-macosx10.9
md5: 07f1f2345dd901d5e178c380ac1bf7f0
Issue Description:
This code compiles:
struct S {} func +(lhs: S, rhs: Int = 42) {} // ~~~~~
Since the default values in operator functions are unusable, I think, it should be rejected warned.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Apple Swift version 3.0.2 (swiftlang-800.0.61 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 07f1f2345dd901d5e178c380ac1bf7f0
Issue Description:
This code compiles:
Since the default values in operator functions are unusable,
I think, it should be
rejectedwarned.The text was updated successfully, but these errors were encountered: