Binary operator '+=' cannot be applied to two 'CMTime' operands vs shorthand_operator
#3643
Closed
2 tasks done
Labels
acceptable-false-positive
False positives caused by rules that are unavoidable due to missing type information.
New Issue Checklist
Describe the bug
Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint error: Shorthand Operator Violation: Prefer shorthand operators (+=, -=, *=, /=) over doing the operation and assigning. (shorthand_operator)
Environment
swiftlint version
to be sure)?0.43.1
package from GitHub
Binary operator '+=' cannot be applied to two 'CMTime' operands.
Is there a way of disabling this rule for CMTime structs and similar cases of overloaded
+
?The text was updated successfully, but these errors were encountered: