Improve simpleMerge #3

Open
opened 4 years ago by gpe · 0 comments
gpe commented 4 years ago
Owner

I think we should try allow merging across nested scopes - so, for example:

if (a) {
    int x_0 = 1;
}

if (b) {
    int x_1 = 1;
}

would not be merged, but:

if (a) {
    int x_0 = 1;

    if (b) {
        int x_1 = 1;
    }
}

would be merged.

I think we should try allow merging across nested scopes - so, for example: ``` if (a) { int x_0 = 1; } if (b) { int x_1 = 1; } ``` would not be merged, but: ``` if (a) { int x_0 = 1; if (b) { int x_1 = 1; } } ``` would be merged.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: openrs2/fernflower#3
Loading…
There is no content yet.