jsonutils: handle holey enum as regular enum, via ord (#17995)

This commit is contained in:
Timothee Cour 2021-05-11 13:49:47 -07:00 • committed by GitHub
commit 1e080eb9b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -67,6 +67,9 @@
initialization with a small (< 30000) seed. Use `-d:nimLegacyRandomInitRand` to restore
previous behavior for a transition time, see PR #17467.
- `jsonutils` now serializes/deserializes holey enums as regular enums (via `ord`) instead of as strings.
Use `-d:nimLegacyJsonutilsHoleyEnum` for a transition period.
## Standard library additions and changes
- Added support for parenthesized expressions in `strformat`