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
A nested macro expansion using :pat bindings is getting expanded into something where
a binding doesn't capture a varref that it should. Here's the code:
This PR includes two big things and a bunch of little ones.
1) It enables hygiene for variables bound by 'match' expressions.
2) It fixes a bug discovered indirectly (#15221), wherein fold traversal failed to visit nonterminal nodes.
3) It fixes a small bug in the macro tutorial.
It also adds tests for the first two, and makes a bunch of small comment improvements and cleanup.
A nested macro expansion using
:pat
bindings is getting expanded into something wherea binding doesn't capture a varref that it should. Here's the code:
Working on this now...
The text was updated successfully, but these errors were encountered: