Files
Nim/tests/destructor
ringabout 4352fa2ef0 fixes #24801; Invalid C codegen generated when destroying distinct seq types (#24835)
fixes #24801

Because distinct `seq` types match `proc `=destroy`*[T](x: var T)
{.inline, magic: "Destroy".}`. But the Nim compiler generates lifted seq
types for corresponding distinct types. So we skip the address for
distinct types.

Related to https://github.com/nim-lang/Nim/pull/22207 I had a hard time
finding the other place where generic destructors get replaced by
attachedDestructors
2025-04-02 18:46:29 +02:00
..
2021-03-09 22:50:17 -08:00
2022-10-01 16:46:51 +02:00
2020-01-20 10:41:12 +01:00
2020-09-25 08:49:21 +02:00
2022-10-01 16:46:51 +02:00
2019-03-04 22:44:23 +01:00
2019-11-29 19:46:21 +01:00
2020-05-02 22:31:19 +02:00
2019-07-07 17:17:14 +02:00
2020-11-09 19:24:32 +01:00
2020-04-01 20:30:28 +02:00
2020-06-28 17:47:47 +02:00
2020-03-10 00:52:46 +01:00
2020-07-09 17:24:23 +02:00
2023-06-02 16:03:32 +02:00
2019-04-25 07:59:34 +02:00
2019-05-27 21:29:02 +02:00
2022-07-06 13:06:41 +02:00
2020-03-17 16:36:38 +01:00