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

formatter: Fix constraint block expansion #761

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 15, 2021

  1. formatter: Fix constraint block expansion

    Constraint block is not expaned when constraint block item list contains
    only one expression. This is caused by flattening partition with one
    children and skipping force expansion on partition with one or zero
    childrens (even with always-expand policy).
    
    This patch fixes this by propagation of always-expand policy to its
    parent, e.g. kConstraintDeclaration.
    
    Signed-off-by: Lukasz Dalek <[email protected]>
    Lukasz Dalek committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    44f0216 View commit details
    Browse the repository at this point in the history