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

More expressions correctly are marked to end with curly braces #118880

Merged
merged 1 commit into from
Dec 17, 2023

Commits on Dec 14, 2023

  1. Change expr_trailing_brace to an exhaustive match to force new expres…

    …sion kinds to specify whether they contain a brace
    
    Add inline const and other possible curly brace expressions to expr_trailing_brace
    
    Add tests for `}` before `else` in `let...else` error
    
    Change to explicit cases for expressions with optional values when being checked for trailing braces
    
    Add tests for more complex cases of `}` before `else` in `let..else` statement
    
    Move other possible `}` cases into separate arm and add FIXME for future reference
    GearsDatapacks committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    1fc6dbc View commit details
    Browse the repository at this point in the history