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
Turns out expanding :macrocall and :block expressions in with_kw does the trick here. Submitting a pull request as I need this functionality for https://github.com/jkosata/DefaultFields.jl
I am experimenting with macros that define a struct. Here's an MWE of my problem:
gives
Seems that
@with_kw
does not expand@structmacro
into a struct declaration. The solution is probably analogous to #21The text was updated successfully, but these errors were encountered: