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
I'm running into the exact same as #2877. I see there were a few improvements to this in 0.54, but with a multi-module setup like in #2877, import A is removed when the code depends on symbols from B. Similarly, code that depends on CoreFoundation (for example, CGFloat), but only imports Foundation gets this import removed.
Complete output when running SwiftLint, including the stack trace and command used
I haven't tried a small repro project, and this is currently happening in a large project so the output is very long. This is the command:
New Issue Checklist
Describe the bug
I'm running into the exact same as #2877. I see there were a few improvements to this in 0.54, but with a multi-module setup like in #2877,
import A
is removed when the code depends on symbols fromB
. Similarly, code that depends onCoreFoundation
(for example,CGFloat
), but only importsFoundation
gets this import removed.Complete output when running SwiftLint, including the stack trace and command used
I haven't tried a small repro project, and this is currently happening in a large project so the output is very long. This is the command:
Environment
No
The text was updated successfully, but these errors were encountered: