Lunderberg opened a new pull request, #17224:
URL: https://github.com/apache/tvm/pull/17224

   Prior to this commit, the `relax::analysis::CollectVarUsage` utility treated 
a local function definition as in-scope after visiting the body of the local 
function.  As a result, recursive calls from a local function were incorrectly 
identified as calls to an undefined variable.
   
   This commit updates the `CollectVarUsage` to treat a local function 
definition as in-scope when inspecting the function body.  This change is 
similar to the change made for structural equality in 
https://github.com/apache/tvm/pull/16756.


-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to