Skip to content

Commit

Permalink
Stop @cxxdereference from messing up linenum information
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Oct 18, 2023
1 parent ecd5279 commit cb7cec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CxxWrap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ macro cxxdereference(f)
fdict[:kwargs] .= maparg.(fdict[:kwargs])

# Dereference the arguments
deref_expr = quote end
deref_expr = Expr(:block)
for arg in vcat(fdict[:args], fdict[:kwargs])
(argname, _, slurp, _) = MacroTools.splitarg(arg)
if argname === nothing
Expand Down

0 comments on commit cb7cec3

Please sign in to comment.