@q doesn't work with macros
Open
- Dominant language
- Julia
- Stars
- 320
- Forks
- 84
- PR merge metrics
- No merged PRs in 30d
Description
```julia
julia> @q @time(1+1)
:(#= REPL[5]:1 =# @time 1 + 1)
```
It could be fixed by postwalking and changing all the `:macrocall`s to have `nothing` for the line number, I believe?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported `@q @time(1+1)` expression in Julia and inspect the `@q` handling of `:macrocall` expressions in MacroTools.jl. Confirm how line-number metadata is retained, then verify that quoted macro calls produce the intended expression without the reported line-number issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100