You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that when implementing VisitAll and using the visit_expr handler that the arg field of ReturnStmt is not being visited. It is declared as Option<Box<Expr>> so I wonder if the issue is to do with the field being optional.
Config
N/A
Expected behavior
I expect visit_expr to be called when arg is Some.
Additional context
I am working around this by also implementing visit_stmt for the moment.
The text was updated successfully, but these errors were encountered:
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
It appears that when implementing
VisitAll
and using thevisit_expr
handler that thearg
field ofReturnStmt
is not being visited. It is declared asOption<Box<Expr>>
so I wonder if the issue is to do with the field being optional.Config
N/A
Expected behavior
I expect
visit_expr
to be called whenarg
isSome
.Additional context
I am working around this by also implementing
visit_stmt
for the moment.The text was updated successfully, but these errors were encountered: