control_statement
triggers on trailing closers requiring braces.
#5135
Labels
bug
Unexpected and reproducible misbehavior.
New Issue Checklist
Describe the bug
SwiftLint rule
control_statement
triggers on statements that require braces due to usage of trailing closures.Complete output when running SwiftLint, including the stack trace and command used
Environment
echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.The text was updated successfully, but these errors were encountered: