Closed Megal closed 6 years ago
From the stack trace, it looks like the crash was caused by NoFallthroughOnlyRule
, not EmptyEnumArgumentsRule
.
This is a duplicate of #2276 which is caused by a bug in SourceKit: https://bugs.swift.org/browse/SR-6443
Hey - looks like you forgot to add a T:* label - could you please add one?
New Issue Checklist
Describe the bug
Swiftlint crashes when string literal with string interpolation followed by space character and any Cyrillic characters presents in code.
Complete output when running SwiftLint, including the stack trace and command used
Environment
SwiftLint version (run
swiftlint version
to be sure)? 0.27.0Installation method used (Homebrew, CocoaPods, building from source, etc)? Homebrew
Paste your configuration file:
Are you using nested configurations? No
Which Xcode version are you using (check
xcode-select -p
)? /Applications/Xcode.app/Contents/Developer Version 9.4.1 (9F2000)Do you have a sample that shows the issue?
$ swiftlint lint --path Application/ShowCase.swift --no-cache --enable-all-rules
Showcase project is available https://github.com/Megal/EmptyEnumArgumentsRuleBug.git