clava
clava copied to clipboard
Duplicate node of lambda call
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: