Files
Nim/lib/pure
metagn 796aa78562 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
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`.

(cherry picked from commit 0c890ff9a7)
2024-08-14 09:36:57 +02:00
..
2023-05-29 21:31:53 +02:00
2023-06-06 21:22:07 +02:00
2015-10-01 12:05:45 -07:00
2024-05-23 13:55:23 +02:00
2021-01-09 00:24:41 +01:00
2023-10-24 08:57:38 +02:00
2023-06-08 08:02:11 +02:00
2022-12-26 13:20:05 +01:00
2022-12-16 08:01:15 +01:00
2022-02-02 17:10:11 +01:00
2022-02-02 17:10:11 +01:00
2022-12-03 21:25:49 +08:00
2023-05-29 21:31:53 +02:00
2023-06-26 15:07:42 +02:00
2023-03-20 18:51:58 +01:00
2021-02-08 09:46:07 +01:00
2022-02-02 17:10:11 +01:00