parameter runtime discriminators (#11397)

* allow param for runtime discriminator construction
This commit is contained in:
Jasper Jenkins 2019-06-04 13:10:39 -07:00 • committed by Andreas Rumpf
commit fc4f0808c4
3 changed files with 20 additions and 4 deletions

View file

@ -236,7 +236,8 @@ proc enumToString*(enums: openArray[enum]): string =
pragmas for further analysis by macros
- Custom pragmas are now supported for `var` and `let` symbols.
- Tuple unpacking is now supported for constants and for loop variables.
- Case object branches can be initialized with a runtime discriminator if
possible discriminator values are constrained within a case statement.
### Language changes