clava
clava copied to clipboard
"<.getCode() not implemented to node class pt.up.fe.specs.clava.ast.expr.TypeTraitExpr>" in woven code
In Clava-JS, it seems that the getCode method of type trait expressions is not implemented, and the resulting string is being injected into the output.
To replicate this bug, run Clava-JS with no script and the following source file:
#include <type_traits>
int main() {
__is_pod(int);
return 0;
}
The woven file will look like this:
#include <type_traits>
int main() {
<.getCode() not implemented to node class pt.up.fe.specs.clava.ast.expr.TypeTraitExpr>;
return 0;
}