Skip to content

Commit

Permalink
add NEWS for mutable struct singletons change (#25854)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
JeffBezanson committed Feb 2, 2018
1 parent 9f8496c commit 8f934cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ Language changes
* The syntax `1.+2` is deprecated, since it is ambiguous: it could mean either
`1 .+ 2` (the current meaning) or `1. + 2` ([#19089]).

* Mutable structs with no fields are no longer singletons; it is now possible to make
multuple instances of them that can be distinguished by `===` ([#25854]).
Zero-size immutable structs are still singletons.

* In string and character literals, backslash `\` may no longer
precede unrecognized escape characters ([#22800]).

Expand Down

0 comments on commit 8f934cb

Please sign in to comment.