Nico Richard
Nico Richard
I can reproduce this on 0.49.0 as well when running SwiftLint as a Swift executable binary. e.g. `swift run swiftlint` SwiftLint will fail on a few different files in our...
The failing code is in an extremely complex and dense file with lots of nesting collections calls (reduce, map) and ternaries. I think it's a little too dense and proprietary...
Here's a reproducible example `[1] 43678 bus error swift run swiftlint lint` ```swift import SwiftUI struct SimplifiedView: View where Label: View { @Binding var step: Int private let range: ClosedRange...
`$ swift run swiftlint version` ``` Building for debugging... Build complete! (0.12s) 0.49.1 ``` You must run SwiftLint via Swift Package Manager using `swift run` for the error to occur.
I was able to answer most of my own questions and apply them to my attempt: https://github.com/nicorichard/SwiftGenPlugin Creating the bundle was easier than I had imagined but it's easy to...