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
Parameter in this code counts as unused because placed on the next lines after the same named parameter created.
func someFunction(with parameter: Int) -> Int { let parameter = max( 200, parameter ) return parameter }
Formatted to and not compiling anymore:
func someFunction(with _: Int) -> Int { let parameter = max( 200, parameter ) return parameter }
The text was updated successfully, but these errors were encountered:
@romdevios thanks for reporting this, I'll get it fixed. A workaround for now seems to be to put the expression all on one line:
let parameter = max(200, parameter)
Sorry, something went wrong.
@romdevios fixed in 0.53.10
No branches or pull requests
Parameter in this code counts as unused because placed on the next lines after the same named parameter created.
Formatted to and not compiling anymore:
The text was updated successfully, but these errors were encountered: