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

"<.getCode() not implemented to node class pt.up.fe.specs.clava.ast.expr.TypeTraitExpr>" in woven code #163

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

Comments

@Process-ing
Copy link

Process-ing commented Jul 30, 2024

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;
}
@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