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

Improve error message for :=(a := b, c := d) #5296

Closed
MichaelChirico opened this issue Dec 21, 2021 · 0 comments · Fixed by #6484
Closed

Improve error message for :=(a := b, c := d) #5296

MichaelChirico opened this issue Dec 21, 2021 · 0 comments · Fixed by #6484
Milestone

Comments

@MichaelChirico
Copy link
Member

Not uncommon for instinct to take over and write a nested := query:

DT[, `:=`(a := a + 1, b := b + 1)]
# Error:
#     In `:=`(col1=val1, col2=val2, ...) form, all arguments must be named.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant