Skip to content

Commit b96d800

Browse files
stevengjmfasi
authored andcommitted
note breaking changes to .+= etc. in JuliaLang#17510, JuliaLang#17546
1 parent 610e45b commit b96d800

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

NEWS.md

+7
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ Compiler/Runtime improvements
108108
Breaking changes
109109
----------------
110110

111+
* The assignment operations `.+=`, `.*=` and so on now generate calls
112+
to `broadcast!` on the left-hand side (or call to `view(a, ...)` on the left-hand side
113+
if the latter is a `a[...]` expression. This means that they will fail
114+
if the left-hand side is immutable (or does not support `view`), and will
115+
otherwise change the left-hand side in-place ([#17510], [#17546]).
116+
111117
* Method ambiguities no longer generate warnings when files are
112118
loaded, nor do they dispatch to an arbitrarily-chosen method;
113119
instead, a call that cannot be resolved to a single method results
@@ -369,3 +375,4 @@ Deprecated or removed
369375
[#17402]: https://github.com/JuliaLang/julia/issues/17402
370376
[#17404]: https://github.com/JuliaLang/julia/issues/17404
371377
[#17510]: https://github.com/JuliaLang/julia/issues/17510
378+
[#17546]: https://github.com/JuliaLang/julia/issues/17546

0 commit comments

Comments
 (0)