document that items no longer works with enum with holes (#15426)

This commit is contained in:
Timothee Cour 2020-09-28 22:54:17 -07:00 • committed by GitHub
commit 5f9b366180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,6 +286,7 @@ proc mydiv(a, b): int {.raises: [].} =
- Added a ``.noalias`` pragma. It is mapped to C's ``restrict`` keyword for the increased - Added a ``.noalias`` pragma. It is mapped to C's ``restrict`` keyword for the increased
performance this keyword can enable. performance this keyword can enable.
- `items` no longer compiles with enum with holes as its behavior was error prone, see #14004
## Compiler changes ## Compiler changes