-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
.= assignment #285
Comments
(In 0.4, |
Isn't the precedence wrong? |
Yes. But in most practical circumstances it shouldn't matter, I think, since comparisons have lower precedence than arithmetic. |
And at worst, people needing 0.4 compatibility can add parens around the rhs. |
Merged
stevengj
added a commit
that referenced
this issue
Dec 28, 2016
dpsanders
pushed a commit
to dpsanders/Compat.jl
that referenced
this issue
Feb 1, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0.5 introduced
x .= y
etcetera for in-place assignment. It would be nice if@compat
would translate this tocopy!(x, y)
in Julia 0.4.Note that
x[...] .= y
should becomex[...] = y
.Similarly for
.+=
and so on.The text was updated successfully, but these errors were encountered: