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
In this example in 0.55.5:
0.55.5
public protocol FooProtocol { func foo(bar: Bar) -> () throws -> Void }
When applying redundantVoidReturnType, it will always return:
redundantVoidReturnType
public protocol FooProtocol { func foo(bar: Bar) -> throws }
...even when passing --closurevoid preserve. Since the above intends to return a closure, it breaks call sites that expected a closure from foo(bar:).
--closurevoid preserve
foo(bar:)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this example in
0.55.5
:When applying
redundantVoidReturnType
, it will always return:...even when passing
--closurevoid preserve
. Since the above intends to return a closure, it breaks call sites that expected a closure fromfoo(bar:)
.The text was updated successfully, but these errors were encountered: