-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
False positive for explicit_type_interface on switch-case-let #3615
Comments
I couldn't repro this on Xcode 12.4, so maybe something changed in the SourceKit response in Swift 5.4. I'm downloading Xcode 12.5 and will check later. |
OK, I was able to repro this with Swift 5.4 and it's indeed because the SourceKit structure has changed. |
Is this fix included in the next release? |
@marcelofabri I am getting the same issue with issue 5.4. :( |
i'm having the same problem T.T |
Same issue here, is there an ETA for the next release? Thanks. |
New Issue Checklist
Describe the bug
This start to happen after I updated to Xcode 12.5. Basically, all the
switch
statements that have alet
inside thecase
clause are triggering this rule.Complete output when running SwiftLint, including the stack trace and command used
Explicit Type Interface Violation: Properties should have a type interface (explicit_type_interface)
Environment
The text was updated successfully, but these errors were encountered: