Skip to content

Commit 5bd1968

Browse files
committed
add NEWS entry [ci skip]
1 parent bcccabf commit 5bd1968

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

NEWS.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Language changes
1717

1818
* `macroexpand`, `@macroexpand`, and `@macroexpand1` no longer wrap errors in a `LoadError`. To reduce breakage, `@test_throws` has been modified so that many affected tests will still pass ([#38379]].
1919
* The middle dot `·` (`\cdotp` U+00b7) and the Greek interpunct `·` (U+0387) are now treated as equivalent to the dot operator `` (`\cdot` U+22c5) (#25157).
20+
* Destructuring will no longer mutate values on the left hand side while iterating through values on the right hand side. In the example
21+
of an array `x`, `x[2], x[1] = x` will now swap the first and second entry of `x`, whereas it used to fill both entries with `x[1]`
22+
because `x[2]` was mutated during the iteration of `x`. ([#40737])
2023

2124
Compiler/Runtime improvements
2225
-----------------------------

0 commit comments

Comments
 (0)