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

Duplicate node of lambda call #162

Open
Process-ing opened this issue Jul 30, 2024 · 0 comments
Open

Duplicate node of lambda call #162

Process-ing opened this issue Jul 30, 2024 · 0 comments
Labels

Comments

@Process-ing
Copy link

There appears to be a bug in Clava-JS, where a node of a direct call to a lambda expression appears duplicated.

To replicate this error, run Clava-JS with the script:

import Query from "lara-js/api/weaver/Query.js";

console.log(Query.root().dump);

and the source file:

int main(){
    delete ([]{ return new int; })();
    return 0;
}

Output:

@lm-sousa lm-sousa added the bug label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants