Files
Nim/lib/pure
metagn 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892)
refs https://github.com/nim-lang/Nim/pull/23873#discussion_r1687995060,
fixes #23386, fixes #23385, supersedes #23572

Turns the `nfOpenSym` node flag implemented in #23091 and extended in
#23102 and #23873, into a node kind `nkOpenSym` that forms a unary node
containing either `nkSym` or `nkOpenSymChoice`. Since this affects
macros working on generic proc AST, the node kind is now only generated
when the experimental switch `genericsOpenSym` is enabled, and a new
node flag `nfDisabledOpenSym` is set to the `nkSym` or `nkOpenSymChoice`
when the switch is not enabled so that we can give a warning.

Now that the experimental switch has more reasonable semantics, we
define `nimHasGenericsOpenSym2`.
2024-08-12 15:33:26 +02:00
..
2015-10-01 12:05:45 -07:00
2024-05-16 23:22:49 +02:00
2024-07-26 20:45:52 +02:00
2021-01-09 00:24:41 +01:00
2024-07-26 20:45:52 +02:00
2022-12-03 21:25:49 +08:00
2023-12-18 13:25:49 +08:00
2023-03-20 18:51:58 +01:00
2021-02-08 09:46:07 +01:00