Files
Nim/tests/errmsgs
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-07-05 15:51:04 +02:00
2018-07-02 22:53:00 +02:00
2018-12-11 21:23:22 +01:00
2021-04-06 16:20:01 +02:00
2020-03-22 20:01:01 +01:00
2022-09-23 13:05:05 +02:00
2021-06-22 12:44:56 +02:00
2023-01-18 21:40:00 +01:00
2018-04-21 22:49:15 +02:00
2021-04-06 16:20:01 +02:00
2019-07-08 15:24:20 -07:00
2021-04-06 16:20:01 +02:00
2021-04-06 16:20:01 +02:00
2021-04-06 16:20:01 +02:00