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

IR Node Annotation Is Always Overwritten With AST Node Source Code Annotation #4189

Open
ritzdorf opened this issue Apr 25, 2024 · 0 comments

Comments

@ritzdorf
Copy link
Contributor

Version Information

  • vyper Version (output of vyper --version OR linkable commit hash vyperlang/vyper@): b43ffac

Issue Description

In Expr.__init__() and Stmt.__init__(), the IR node annotation is
always overwritten with the AST node source code annotation. In some
cases, it might be that self.ir_node.annotation is already set to a
meaningful annotation and that the AST node source code annotation is
empty or less meaningful.

@cyberthirst cyberthirst transferred this issue from another repository Jul 16, 2024
@cyberthirst cyberthirst transferred this issue from another repository Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant