Files
Nim/tests/template
metagn cd946084ab make routine implicitly gensym when other gensym symbol exists again (#23842)
fixes #23813, partially reverts #23392

Before #23392, if a `gensym` symbol was defined before a proc with the
same name in a template even with an `inject` annotation, the proc would
be `gensym`. After #23392 the proc was instead changed to be `inject` as
long as no `gensym` annotation was given. Now, to keep compatibility
with the old behavior, the behavior is changed back to infer the proc as
`gensym` when no `inject` annotation is given, however an explicit
`inject` annotation will still inject the proc. This is also documented
in the manual as the old behavior was undocumented and the new behavior
is slightly different.
2024-07-16 08:47:06 +02:00
..
2018-04-18 21:19:23 +02:00
2016-08-04 01:37:41 +02:00
2021-04-01 08:47:59 +02:00
2021-05-31 13:27:44 +02:00
2023-04-26 08:02:44 +02:00
2018-12-11 21:23:22 +01:00
2017-03-06 18:38:15 +01:00
2020-08-27 15:50:59 +02:00
2019-08-23 16:15:02 +02:00
2017-07-25 09:28:23 +02:00
2020-10-30 09:59:56 +01:00
2019-05-29 22:21:51 +02:00
2018-12-11 21:23:22 +01:00
2017-07-25 09:28:23 +02:00