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
Following code should pass indent validation:
private fun test(): Boolean? = runCatching { true } .getOrNull()?.let { result -> !result }
It's also how IDEA indents code.
0.48.2 and current master (44ad030) return:
[LintError(line=4, col=1, ruleId=standard:indent, detail=Unexpected indentation (12) (should be 8), canBeAutoCorrected=true), LintError(line=5, col=1, ruleId=standard:indent, detail=Unexpected indentation (8) (should be 4), canBeAutoCorrected=true)]
This snippet was accepted by 0.47.1.
The text was updated successfully, but these errors were encountered:
Fix false positive when a single line contains multiple dot qualified…
066cc7e
… expressions and/or safe expressions Closes #1830
7f323be
… expressions and/or safe expressions (#1856) Closes #1830
Successfully merging a pull request may close this issue.
Expected Behavior
Following code should pass indent validation:
It's also how IDEA indents code.
Observed Behavior
0.48.2 and current master (44ad030) return:
This snippet was accepted by 0.47.1.
The text was updated successfully, but these errors were encountered: