class_delegate_protocol warning triggered by the Actor protocol #6054
Labels
enhancement
Ideas for improvements of existing features and rules.
good first issue
Issue to be taken up by new contributors yet unfamiliar with the project.
New Issue Checklist
Bug Description
class_delegate_protocol
doesn't recognize the Actor protocol as suitable for being weakly referenced.Since Actor protocol already conforms to AnyObject I believe it can also be whitelisted.
Bonus idea for further consideration: how about renaming the rule into
reference_type_delegate_protocol
? (I don't have a strong opinion about this one.)Environment
The text was updated successfully, but these errors were encountered: