caseStmtMacros no longer experimental, experimental manual refactor (#19173)
* `caseStmtMacros` no longer experimental, experimental manual refactor * Update doc/manual.rst * apply review suggestions * apply review Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
040d23e799
commit
5933aece9b
7 changed files with 814 additions and 796 deletions
|
|
@ -465,12 +465,7 @@ proc bindSym*(ident: string | NimNode, rule: BindSymRule = brClosed): NimNode {.
|
|||
## If `rule == brForceOpen` always an `nnkOpenSymChoice` tree is
|
||||
## returned even if the symbol is not ambiguous.
|
||||
##
|
||||
## Experimental feature:
|
||||
## use {.experimental: "dynamicBindSym".} to activate it.
|
||||
## If called from template / regular code, `ident` and `rule` must be
|
||||
## constant expression / literal value.
|
||||
## If called from macros / compile time procs / static blocks,
|
||||
## `ident` and `rule` can be VM computed value.
|
||||
## See the `manual <manual.html#macros-bindsym>`_ for more details.
|
||||
|
||||
proc genSym*(kind: NimSymKind = nskLet; ident = ""): NimNode {.
|
||||
magic: "NGenSym", noSideEffect.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue