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
@discardableResult
Xcode 8 beta 1
md5: b4c9d1a6c3b7ca480359bcfee1d19575
duplicates:
Issue Description:
class TrashBin { @discardableResult func empty() -> [Trashable] { // ... } } var myBin: TrashBin? = TrashBin() /// No warning. myBin!.empty() /// Expected: No warnings at all. /// Actual: Compiler warns unused result. myBin?.empty()
I am not sure if this is a bug or is intentional, since the SE proposal hasn't not touched on it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Xcode 8 beta 1
Additional Detail from JIRA
md5: b4c9d1a6c3b7ca480359bcfee1d19575
duplicates:
Issue Description:
I am not sure if this is a bug or is intentional, since the SE proposal hasn't not touched on it.
The text was updated successfully, but these errors were encountered: