fixes #19015 [backport:1.6] (#19204)

This commit is contained in:
Andreas Rumpf 2021-12-04 07:42:58 +01:00 • committed by GitHub
commit d584dd5b99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View file

@ -11,6 +11,9 @@
or define your own `Math.trunc` polyfill using the [`emit` pragma](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-emit-pragma). Nim uses
`Math.trunc` for the division and modulo operators for integers.
- Optional parameters in combination with `: body` syntax (RFC #405) are now opt-in via
`experimental:flexibleOptionalParams`.
## Standard library additions and changes
- `macros.parseExpr` and `macros.parseStmt` now accept an optional