From c40b56048f4bfb292fe223f88d726bcdb5c0737a Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Fri, 22 Jul 2016 11:04:18 -0400 Subject: [PATCH] note breaking changes to .+= etc. in #17510, #17546 --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index 0bf93945ccbc7..750ee8df44937 100644 --- a/NEWS.md +++ b/NEWS.md @@ -108,6 +108,12 @@ Compiler/Runtime improvements Breaking changes ---------------- + * The assignment operations `.+=`, `.*=` and so on now generate calls + to `broadcast!` on the left-hand side (or call to `view(a, ...)` on the left-hand side + if the latter is a `a[...]` expression. This means that they will fail + if the left-hand side is immutable (or does not support `view`), and will + otherwise change the left-hand side in-place ([#17510], [#17546]). + * Method ambiguities no longer generate warnings when files are loaded, nor do they dispatch to an arbitrarily-chosen method; instead, a call that cannot be resolved to a single method results @@ -369,3 +375,4 @@ Deprecated or removed [#17402]: https://github.com/JuliaLang/julia/issues/17402 [#17404]: https://github.com/JuliaLang/julia/issues/17404 [#17510]: https://github.com/JuliaLang/julia/issues/17510 +[#17546]: https://github.com/JuliaLang/julia/issues/17546