Underscore identifier doesn't do indexing replacement
FNj opened this issue · 4 comments
FNj commented
When piping DataFrames from DataFrames.jl, one encounters this error very easily:
@pipe df::DataFrame |> _[:Column]
produces:
syntax: all-underscore identifier used as rvalue around In[45]:1
oxinabox commented
That is weird, I'll have to have a play.
I suspect it isn't the DataFrames
but something else, like getindex
not having the AST expected.
FNj commented
You are right, this'll produce the same problem:
array = Vector(1:10)
@pipe array |> _[4]