Files
Nim/compiler
Etan Kissling ee876aee28 allow HSlice bounded by constants of distinct types (#19219) [backport:1.2]
When creating heterogenous slices of distinct types, the compiler does
not initialize the internal type's `size` before accessing it.
This then leads to this crash message:
```
compiler/int128.nim(594, 11) `false` masking only implemented for 1, 2, 4 and 8 bytes [AssertionError]
```
This patch initializes the `size` properly, fixing the problem.

(cherry picked from commit 0213c7313b)
2021-12-08 08:32:57 +01:00
..
2021-01-07 20:26:40 +01:00
2021-11-11 16:16:03 +01:00
2019-11-28 17:13:04 +01:00
2021-05-12 22:00:37 +02:00
2021-03-19 16:53:38 +01:00
2021-03-29 21:16:11 +02:00
2021-11-03 15:06:53 +01:00
2017-01-07 22:35:09 +01:00
2021-09-02 12:10:14 +02:00
2019-11-28 17:13:04 +01:00
2021-01-07 20:26:40 +01:00
2021-07-27 12:48:27 +02:00
2021-05-20 15:48:46 +02:00
2021-07-13 14:17:59 +02:00
2021-09-02 12:10:14 +02:00
2021-01-12 09:36:51 +01:00
2019-09-27 07:02:54 +02:00
2021-01-07 20:26:40 +01:00
2021-11-03 15:06:53 +01:00
2021-04-09 08:00:13 +02:00
2019-11-28 17:13:04 +01:00
2021-09-02 12:10:14 +02:00
2021-01-07 20:26:40 +01:00
2021-09-03 15:18:55 +02:00
2021-09-04 15:57:16 +02:00
2021-09-28 11:35:04 +02:00
2021-04-07 19:54:28 +02:00
2021-10-13 14:57:25 +02:00
2021-04-24 18:33:29 +01:00
2020-11-10 21:53:25 +01:00
2021-09-06 17:43:03 +02:00
2021-05-09 00:56:37 +02:00
2021-09-04 15:57:16 +02:00
2021-12-06 11:19:17 +01:00
2021-05-12 22:00:37 +02:00
2021-12-06 11:19:17 +01:00
2021-09-29 09:32:39 +02:00
2021-11-03 15:06:53 +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.