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

let_var_whitespace should not trigger for @objc #1770

Closed
fcy opened this Issue Aug 11, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@fcy

fcy commented Aug 11, 2017

I like the new let_var_whitespace rule but I think it shouldn't trigger for @objc because it applies to that member. E.g. the following snippet triggers a violation:

    @objc(status)
    var statusObjc: String {
//...

What do you think?

@Uncommon

This comment has been minimized.

Show comment
Hide comment
@Uncommon

Uncommon Aug 11, 2017

Contributor

Yeah, that should be easy to fix. I got it to handle a couple of other @ keywords but didn't think of @objc.

Contributor

Uncommon commented Aug 11, 2017

Yeah, that should be easy to fix. I got it to handle a couple of other @ keywords but didn't think of @objc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment