Closed cstjean closed 4 years ago
Do you have a case where the current behaviour is a problem? I'm a bit wary of this given that macros are probably not expecting it in general.
I @macroexpand1
a macro call that expands into other macro calls, and the line numbers are an eyesore.
I'm a bit wary of this given that macros are probably not expecting it in general.
Yeah, that's reasonable. We can leave the PR open until a more compelling use case comes up.
I also hit this a while ago: https://stackoverflow.com/questions/53274001
It looks currently there is no elegant solution to strip line-number-node in macrocall
s.
FWIW, Jameson said on Slack that accepting nothing
was intentional; “be liberal in what you accept, conservative in what you produce”.
EDIT: uh, that quote doesn't work in this PR's favor, does it.
Fix #107 by replacing the
:macrocall
line-number argument withnothing
. I haven't read anywhere that this is Acceptable, but it seems to work.