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
There is already an inspection inside Intellij:
This inspection reports a suspend modifier as redundant if no other suspend functions are called inside.
Detects usages of suspend modifiers that are useless because the function is not suspendable.
suspend fun hello() { retrun "hello" }
The text was updated successfully, but these errors were encountered:
Good idea! Thanks for submitting this nice idea. 😊 Do you have some resources to help us out here? @tobiasschuerg Any help is highly appreciated.
Sorry, something went wrong.
This rule should also go into the concurrenty ruleset. Please see my comment in #2155
concurrenty
For reference:
Successfully merging a pull request may close this issue.
There is already an inspection inside Intellij:
Expected Behavior of the rule
Detects usages of suspend modifiers that are useless because the function is not suspendable.
Context
The text was updated successfully, but these errors were encountered: