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

overridden_super_call does not match when in defer #1301

Closed
davidblaesing opened this issue Feb 10, 2017 · 4 comments
Closed

overridden_super_call does not match when in defer #1301

davidblaesing opened this issue Feb 10, 2017 · 4 comments
Labels
enhancement Ideas for improvements of existing features and rules.

Comments

@davidblaesing
Copy link

davidblaesing commented Feb 10, 2017

Creates a warning.

override func viewDidLoad() {
    defer {
        super.viewDidLoad()
    }
}
@ghost
Copy link

ghost commented Feb 10, 2017

This will probably affect prohibited_super_call then as well, as the code is almost identical.

@jpsim jpsim added the enhancement Ideas for improvements of existing features and rules. label Feb 10, 2017
@jdmarshall90
Copy link

Any ETA on a fix?

@marcelofabri
Copy link
Collaborator

No, but feel free do send a PR!

@jpsim
Copy link
Collaborator

jpsim commented May 23, 2017

Filed a PR fixing this in #1556.

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

4 participants