Closed jcasas00 closed 1 year ago
This is caused by moving the top-level if op's condition ops right before itself. I have fixed this issue in the latest commits and added test here: test_print_before_if
Thanks. Not seeing this error anymore.
HCL AST is a better solution to the scope issue, we are not using ASTMover anymore. Marking this issue as resolved.
generates the following error:
Line %6 and %7 (args to print call) refers to %8 which is defined later.
Likely related to the changes for #148.