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:
hlaaftana 2021-11-23 18:30:17 +03:00 • committed by GitHub
commit 5933aece9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 814 additions and 796 deletions

View file

@ -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.}