We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 064b84c commit 42b59e3Copy full SHA for 42b59e3
src/geoops/macros.jl
@@ -72,7 +72,7 @@ function _colnames(expr)
72
end
73
74
function _colargs!(colnames, expr)
75
- if Meta.isexpr(expr, :.) # handle expressions of the form obj.field
+ if Meta.isexpr(expr, :., 2) && expr.args[2] isa QuoteNode # handle expressions of the form obj.field
76
_colargs!(colnames, expr.args[1])
77
else # descend on function/macro arguments
78
start = Meta.isexpr(expr, [:call, :macrocall]) ? 2 : 1
0 commit comments