vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.84k stars 788 forks source link

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

Open ritzdorf opened 4 months ago

ritzdorf commented 4 months ago

Version Information

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.