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

Generic/OpeningFunctionBraceKernighanRitchie: fix error position #3871

Commits on Aug 9, 2023

  1. Generic/OpeningFunctionBraceKernighanRitchie: fix error position

    The `SpaceBeforeBrace` error code is about the space before the scope opener, but was being thrown on the parenthesis closer preceding it, which could be confusing when there is a type declaration between the two.
    
    Fixed now.
    
    I haven't added a test as no meaningful test can be added as the error "column" is not part of the test logic.
    jrfnl committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    02adef0 View commit details
    Browse the repository at this point in the history