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 would be slick if macros could match a pure_expr. Stuff like logging macros could use a pure_expr to ensure that the code behaves the same way with logging on or off.
The text was updated successfully, but these errors were encountered:
Purity checking happens much later than syntax expansion. We could force the result of a macro to be pure by wrapping it in a suitable function and passing it to some context that requires purity, but in general this is not a syntactic issue. Closing WONTFIX.
It would be slick if macros could match a pure_expr. Stuff like logging macros could use a pure_expr to ensure that the code behaves the same way with logging on or off.
The text was updated successfully, but these errors were encountered: