Skip to content

Flatten the structure of outputted program #36

@tomsik68

Description

@tomsik68

For example, in this snippet:

if (condition) {
    return;
} else {
    /*
    some
    long
    computation
    */
}

The "positive" branch of if statement always returns, so there is no point in having else there. The program would be a lot more readable if the else wasn't there and the block inside else continued with the same indent level as the if statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions