Skip to content

Outliner not dealing with variables with the same name #5

@tiagolascasas

Description

@tiagolascasas

Outliner considers that both index variables are the same (i.e., come from the outlined function's parameters), when they shouldn't be:

int main() {
    int index;
    #pragma clava begin_outline
    index = 2;
    if (1) {
        int index;
        index = 3;
    }
    #pragma clava end_outline
    return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions