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
I'm trying to build a Fold visitor that removes all Attributes that match a pattern, using Fold::fold_attribute doesn't work because I want to replace the attribute with nothing, not another attribute.
I think adding Fold::fold_attributes is a good solution.
I also ran into this problem when trying to transform Stmt into nothing, I had to construct a no-op Stmt.
The text was updated successfully, but these errors were encountered:
I'm trying to build a
Fold
visitor that removes allAttribute
s that match a pattern, usingFold::fold_attribute
doesn't work because I want to replace the attribute with nothing, not another attribute.I think adding
Fold::fold_attributes
is a good solution.I also ran into this problem when trying to transform
Stmt
into nothing, I had to construct a no-opStmt
.The text was updated successfully, but these errors were encountered: