parameter runtime discriminators (#11397)
* allow param for runtime discriminator construction
This commit is contained in:
parent
bfa32e8d99
commit
fc4f0808c4
3 changed files with 20 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue