You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
False positive closure_spacing with only comment inside #4565
Which Xcode version are you using (check xcodebuild -version)?
Xcode 14.0
Build version 14A309
Do you have a sample that shows the issue? Run echo "let test1 = func1(arg: { /* do nothing */ })" | 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.
// This triggers a violation:
lettest1=func1(arg:{ /* do nothing */ })lettest2=func1{ /* do nothing */ }
Activity
Add test cases for #4565
jpsim commentedon Nov 25, 2022
Fixed in #4584
Add test cases for #4565 (#4593)