Files
Nim/compiler
ringabout 1da0dc74d9 fixes #22305; Combination of generic destructor and closure fails in certain cases (#25327)
fixes #22305

It seems that the generic type is cached somehow so that no hooks are
instantiated for the generic type. There are only hooks for the
instantiated type. When `lambdalifting` tries to create type bounds for
the generic type, it cannot either find the instantiated hooks or
instantiate the generic hooks since it lacks `SemContext`. It can use
hooks for the instantiated type in this case
2025-12-03 17:29:45 +01:00
..
2025-11-13 21:31:24 +01:00
2023-12-15 10:20:57 +01:00
2025-12-01 22:59:12 +01:00
2025-12-01 22:59:12 +01:00
2025-12-01 22:59:12 +01:00
2025-12-01 22:59:12 +01:00
2025-12-01 22:59:12 +01:00
2025-11-27 10:09:52 +01:00
2025-12-01 22:59:12 +01:00
2025-12-01 22:59:12 +01:00
2025-11-25 12:49:23 +01:00
2025-11-13 21:31:24 +01:00
2025-11-27 10:09:52 +01:00
2017-01-07 22:35:09 +01:00
2025-05-11 06:40:46 +02:00
2025-11-25 12:49:23 +01:00
2024-12-27 19:42:18 +01:00
2021-01-12 09:36:51 +01:00
2025-11-13 21:31:24 +01:00
2025-12-01 22:59:12 +01:00
2025-11-25 12:49:23 +01:00
2025-11-13 21:31:24 +01:00
2025-12-01 22:59:12 +01:00
2023-07-02 22:36:05 +02:00
2023-11-06 18:33:28 +01:00
2025-11-13 21:31:24 +01:00
2025-09-18 19:44:39 +02:00
2025-11-25 12:49:23 +01:00
2025-11-25 12:49:23 +01:00
2024-03-16 08:35:18 +08:00
2025-11-13 21:31:24 +01:00
2025-11-13 21:31:24 +01:00
2025-08-27 12:23:04 +02:00
2025-11-13 21:31:24 +01:00
2025-11-13 21:31:24 +01:00
2025-11-12 19:04:21 +01:00
2025-11-13 21:31:24 +01:00
2023-12-25 07:12:54 +01:00

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.