Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning appears in terminal for macro expression using $ #3100

Open
nathanrboyer opened this issue Nov 15, 2024 · 0 comments
Open

Warning appears in terminal for macro expression using $ #3100

nathanrboyer opened this issue Nov 15, 2024 · 0 comments

Comments

@nathanrboyer
Copy link

The warning below appears in the terminal when $ is used to the left of = in a macro expression such as in this
Example Notebook.

┌ Warning: unknown use of `=`. Assignee is unrecognised.
│   ex = :($(Expr(:$, :([:first, :second]))))
└ @ ExpressionExplorer C:\Users\nboyer.AIP\.julia\packages\ExpressionExplorer\2Mxnn\src\explore.jl:177

DataFramesMeta.jl requires this in some cases:

Arguments wrapped entirely in $ or $() are passed directly to the underlying DataFrames.jl functions.
Because of this, in addition to the single-column selectors listed above, multi-argument selectors are allowed.
These include, but are not limited to

Vectors of Symbols, $[:x, :y], strings, $["x", "y"], or integers $[1, 2]
Regular expressions, $(r"^a")
Filtering column selectors, such as $(Not(:x)) and $(Between(:a, :z))

(I'm not figuring out video software just to report a terminal message.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant