Lunderberg opened a new pull request, #14250: URL: https://github.com/apache/tvm/pull/14250
Previously, while TVMScript introduces a new scope for other contexts (e.g. `for`, `while`, `with`, etc), the `if` and `else` blocks did not introduce a new scope. This caused erroneous parsing errors if the `if` and `else` blocks each contained a variable with the same name. Added a `self.var_table.with_frame()` context resolves this issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
