Files
Nim/compiler
ringabout 0dd198278e overhaul hook injections (#24841)
ref https://github.com/nim-lang/Nim/issues/24764

To keep destructors injected consistently, we need to transform `mAsgn`
properly into `nkSinkAsgn` and `nkAsgn`. This PR is the first step
towards overhauling hook injections.

In this PR, hooks (except mAsgn) are treated consistently whether it is
resolved in matching or instantiated by sempass2. It also fixes a
spelling `=wasMoved` to its normalized version, which caused no
replacing generic hook calls with lifted hook calls.

(cherry picked from commit 40a1ec21d7)
2025-04-14 10:51:08 +02:00
..
2023-12-15 10:20:57 +01:00
2025-01-14 07:53:29 +01:00
2017-01-07 22:35:09 +01:00
2025-01-14 07:47:19 +01:00
2023-12-17 18:43:52 +01:00
2025-01-15 10:21:20 +01:00
2023-12-13 10:29:58 +01:00
2025-01-14 13:17:34 +01:00
2021-01-12 09:36:51 +01:00
2024-07-09 09:29:45 +02:00
2025-01-14 07:51:55 +01:00
2023-12-17 18:43:52 +01:00
2023-07-02 22:36:05 +02:00
2023-11-06 18:33:28 +01:00
2025-04-14 10:51:08 +02:00
2025-04-14 10:51:08 +02:00
2025-04-14 10:51:08 +02:00
2025-04-14 10:51:08 +02:00
2025-04-14 10:51:08 +02:00
2024-03-16 08:35:18 +08: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.