followup #16714: add -d:nimLegacyUnarySlice + changelog (#17794)

This commit is contained in:
Timothee Cour 2021-04-20 00:25:28 -07:00 • committed by GitHub
commit 4742e6e1fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -54,6 +54,9 @@
- `hashes.hash(proc|ptr|ref|pointer)` now calls `hash(int)` and honors `-d:nimIntHash1`,
`hashes.hash(closure)` has also been improved.
- The unary slice `..b` was removed, use `0..b` instead or use `-d:nimLegacyUnarySlice`
for a deprecation period.
## Standard library additions and changes
- Added support for parenthesized expressions in `strformat`