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
While fixing the swiftlint warnings in Sourcery, I noticed that there were some warnings about force unwrapping that should not be there:
AutoEquatable.swift:133:27: warning: Force Unwrapping Violation: Force unwrapping should be avoided. (force_unwrapping)
AutoHashable.swift:70:27: warning: Force Unwrapping Violation: Force unwrapping should be avoided. (force_unwrapping)
AutoHashable.swift:121:27: warning: Force Unwrapping Violation: Force unwrapping should be avoided. (force_unwrapping)
I traced the condition of the violation and it seems that it is because of its kind while checking the structure.
Unfortunately, I do not understand what this means so I cannot offer a fix through a PR 😓
Hope this helps!
The text was updated successfully, but these errors were encountered:
Hi,
While fixing the swiftlint warnings in Sourcery, I noticed that there were some warnings about force unwrapping that should not be there:
They all involve the same code:
I tried to isolate a triggering example and it seems that you need to include the whole method:
I traced the condition of the violation and it seems that it is because of its kind while checking the structure.
Unfortunately, I do not understand what this means so I cannot offer a fix through a PR 😓
Hope this helps!
The text was updated successfully, but these errors were encountered: