Files
Nim/compiler
Etan Kissling cfb6ebc07a 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-10 11:49:39 +01:00
..
2019-09-27 07:02:54 +02:00
2021-05-14 13:23:36 +02:00
2020-11-09 16:24:20 +01:00
2019-11-28 17:13:04 +01:00
2021-05-14 13:31:00 +02:00
2020-08-28 22:18:09 +02:00
2020-05-19 21:42:53 +02:00
2020-07-08 18:59:34 +02:00
2017-01-07 22:35:09 +01:00
2020-08-01 18:04:04 +02:00
2020-08-10 12:57:32 +02:00
2020-11-16 07:29:30 +01:00
2020-08-28 22:18:09 +02:00
2019-11-28 17:13:04 +01:00
2020-07-27 08:05:52 +02:00
2019-11-28 17:13:04 +01:00
2021-05-14 13:31:00 +02:00
2020-11-09 16:18:03 +01:00
2020-04-16 21:04:05 +02:00
2021-05-14 13:23:36 +02:00
2020-08-28 22:18:09 +02:00
2020-08-28 22:18:09 +02:00
2020-08-28 22:18:09 +02:00
2020-09-07 20:05:07 +02:00
2020-08-28 22:18:09 +02:00
2019-09-27 07:02:54 +02:00
2021-05-14 13:23:36 +02:00
2020-11-16 06:54:45 +01:00
2020-08-28 22:18:09 +02:00
2020-11-16 06:54:45 +01:00
2020-08-28 22:18:09 +02:00
2019-11-28 17:13:04 +01:00
2020-11-16 06:54:45 +01:00
2021-05-14 13:31:00 +02:00
2020-08-08 23:08:34 +02:00
2020-08-27 15:50:59 +02:00
2020-11-09 16:24:20 +01:00
2020-11-26 17:14:43 +01:00
2021-05-14 13:23:36 +02:00
2021-05-14 13:23:36 +02:00
2020-08-28 22:18:09 +02:00
2020-11-09 16:20:43 +01:00
2020-08-28 22:18:09 +02:00
2020-07-04 07:37:24 +02:00
2020-11-16 06:54:45 +01:00
2020-08-28 22:18:09 +02:00
2019-11-28 17:13:04 +01:00
2021-05-14 13:31:00 +02:00
2021-05-14 13:31:00 +02:00
2020-03-26 15:18:45 +00:00
2021-02-22 10:26:14 +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.