MacroTools.jl icon indicating copy to clipboard operation
MacroTools.jl copied to clipboard

@q doesn't work with macros

Open cstjean opened this issue 6 years ago • 2 comments

julia> @q @time(1+1)
:(#= REPL[5]:1 =# @time 1 + 1)

It could be fixed by postwalking and changing all the :macrocalls to have nothing for the line number, I believe?

cstjean avatar Dec 10 '18 14:12 cstjean

Yeah, or perhaps by fixing the rmlines functions to do the same.

MikeInnes avatar Feb 08 '19 11:02 MikeInnes

Obsolete, as @q was dropped. Close?

mauro3 avatar Aug 14 '20 11:08 mauro3