Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't trigger WeakDelegateRule if it is computed property #1089

Closed
mpsnp opened this issue Dec 30, 2016 · 1 comment
Closed

Don't trigger WeakDelegateRule if it is computed property #1089

mpsnp opened this issue Dec 30, 2016 · 1 comment
Labels
enhancement Ideas for improvements of existing features and rules.

Comments

@mpsnp
Copy link

mpsnp commented Dec 30, 2016

In my project i have a factory of AppDelegates, in order to simplify resolving, i've added computed properties, which look like this:

var normalLaunchAppDelegate: NormalLaunchAppDelegate {
    return resolve()
}

I'm pretty sure that in this case WeakDelegateRule shouldn't trigger.

@marcelofabri marcelofabri added the enhancement Ideas for improvements of existing features and rules. label Dec 30, 2016
@marcelofabri
Copy link
Collaborator

This should be an easy enhancement. @mpsnp, would you like to give it a shot? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for improvements of existing features and rules.
Projects
None yet
Development

No branches or pull requests

2 participants