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

vertical_parameter_alignment rule generates incorrect warning for nested parentheses #1488

Closed
garie opened this issue May 3, 2017 · 1 comment
Labels
bug Unexpected and reproducible misbehavior.

Comments

@garie
Copy link

garie commented May 3, 2017

Version 0.18.1

This code generates a warning:

    static func getAdditionalInfoTextField(data: (size: CGSize,
                                                  identifier: String,
                                                  placeHolder: NSAttributedString,
                                                  padding: CGRect,
                                                  borderColor: CGColor,
                                                  borderWidth: CGFloat,
                                                  required: Bool)) -> UITextField {

This code does not generate a warning:

    static func getAdditionalInfoTextField(data: (size: CGSize,
                                           identifier: String,
                                           placeHolder: NSAttributedString,
                                           padding: CGRect,
                                           borderColor: CGColor,
                                           borderWidth: CGFloat,
                                           required: Bool)) -> UITextField {
@garie garie changed the title vertical_parameter_alignment generates incorrect warning for nested parentheses vertical_parameter_alignment rule generates incorrect warning for nested parentheses May 3, 2017
@marcelofabri marcelofabri added the bug Unexpected and reproducible misbehavior. label May 4, 2017
@marcelofabri
Copy link
Collaborator

Fixed by @jpsim in #1726 🎉

marcelofabri added a commit that referenced this issue Jul 30, 2017
Add test and changelog entry for #1488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

2 participants