diff options
author | metagn <metagngn@gmail.com> | 2024-07-25 14:10:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 22:10:15 +0200 |
commit | 469a6044c00ce657d2f543f292678b3c71e0b037 (patch) | |
tree | a410b854deb17223166efb6c3d22bf30169b4212 /tests/config.nims | |
parent | c1f91c26a5136b2ad00f7da93b19c2da9b85dd16 (diff) | |
download | Nim-469a6044c00ce657d2f543f292678b3c71e0b037.tar.gz |
implement genericsOpenSym for symchoices (#23873)
fixes #23865 The node flag `nfOpenSym` implemented in #23091 for sym nodes is now also implemented for open symchoices. This means the intended behavior is still achieved when multiple overloads are in scope to be captured, so the issue is fixed. The code for the flag is documented and moved into a helper proc and the experimental switch is now enabled for the compiler test suite.
Diffstat (limited to 'tests/config.nims')
-rw-r--r-- | tests/config.nims | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/config.nims b/tests/config.nims index 690123c4a..91934cc74 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -45,3 +45,4 @@ switch("define", "nimPreviewNonVarDestructor") switch("warningAserror", "UnnamedBreak") switch("legacy", "verboseTypeMismatch") switch("experimental", "vtables") +switch("experimental", "genericsOpenSym") |