Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
False positive in rule explicit_type_interface with allowRedundancy #2636
For this code
private let l10n = L10n.Communication.self
using this configuration
explicit_type_interface: allow_redundancy: true excluded: - local
there shouldn't be any warnings, but there is.
Rationale: The usage of this rule here is mostly for improving readability, not performance of the compiler. We also try to prevent redundant type annotations, why explicitly writing the type here wouldn't be right. Thus this rules behavior must be changed.