Files
Nim/compiler
Araq b72affa1a1 fix arraymancer regression: gate handleGenericInvocation's copy on Sealed
The early IC fix made the else branch (concrete generic args) copy the
invocation type unconditionally before propagateToOwner. Besides
avoiding the in-place mutation, the copy flips `header != t` for
all-concrete invocations, which activates the searchInstTypes/sameFlags
cached-instance return path that devel skipped - a cached, meta-flagged
instance could be returned where a fresh one was expected.
Arraymancer's build then failed with "cannot cast to a non concrete
type: 'ptr NimSeqV2[Node[Tensor[float32]]]'" in seqs_v2.setLen.

Copy only when the invocation type is actually immutable
(IC-loaded/Sealed); non-IC behavior is devel's again, the IC assert
stays fixed.

Verified: arraymancer tests_cpu.nim builds and links (its test-suite
SIGSEGV in io_npy is pre-existing - a devel-built compiler produces the
identical 226-tests-then-crash). Macro sweep 93/95, tests/ic 5/5,
koch boot -d:release and clean koch bootic reach bit-identical fixed
points.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 14:53:16 +02:00
..
2026-06-10 12:04:42 +02:00
2023-12-15 10:20:57 +01:00
2026-06-10 12:04:42 +02:00
2025-12-01 22:59:12 +01:00
2026-02-10 13:21:35 +01:00
2026-06-10 12:04:42 +02:00
2026-06-09 23:42:00 +02:00
2026-06-08 15:43:56 +02:00
2026-06-08 18:33:59 +02:00
2026-06-10 12:04:42 +02:00
2025-12-11 18:22:38 +01:00
2026-03-16 16:56:18 +01:00
2026-06-09 16:12:38 +02:00
2025-12-31 13:33:57 +01:00
2017-01-07 22:35:09 +01:00
2026-06-10 12:04:42 +02:00
2026-02-10 13:21:35 +01:00
2025-12-11 18:22:38 +01:00
2025-12-11 18:22:38 +01:00
2026-06-07 19:55:56 +02:00
2025-11-25 12:49:23 +01:00
2026-04-02 07:19:43 +02:00
2024-12-27 19:42:18 +01:00
2026-06-08 15:43:56 +02:00
2026-04-02 07:19:43 +02:00
2026-06-10 12:04:42 +02:00
2025-12-11 18:22:38 +01:00
2026-04-02 07:19:43 +02:00
2025-12-11 18:22:38 +01:00
2021-01-12 09:36:51 +01:00
2026-06-10 12:04:42 +02:00
2026-06-10 12:04:42 +02:00
2026-01-09 13:10:04 +01:00
2026-06-10 12:04:42 +02:00
2026-06-10 12:04:42 +02:00
2025-12-11 18:22:38 +01:00
2026-06-09 16:12:38 +02:00
2026-06-09 16:12:38 +02:00
2026-06-09 16:12:38 +02:00
2026-02-10 13:21:35 +01:00
2023-07-02 22:36:05 +02:00
2023-11-06 18:33:28 +01:00
2026-02-10 13:21:35 +01:00
2026-06-10 12:04:42 +02:00
2026-05-12 23:20:10 +02:00
2025-12-11 18:22:38 +01:00
2026-06-10 12:04:42 +02:00
2026-06-10 12:04:42 +02:00
2025-12-11 18:22:38 +01:00
2025-12-11 18:22:38 +01:00
2026-06-10 12:04:42 +02:00
2026-06-10 12:04:42 +02:00
2025-12-11 18:22:38 +01:00
2024-03-16 08:35:18 +08:00
2025-12-29 13:52:22 +01:00
2025-12-31 13:33:57 +01:00
2026-06-10 12:04:42 +02:00
2026-06-10 12:04:42 +02:00
2026-06-10 12:04:42 +02:00
2026-06-09 16:12:38 +02: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.