Files
Nim/compiler
Etan Kissling 4cb522fb8a 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-07 21:48:08 +01:00
..
2019-09-27 07:02:54 +02:00
2020-05-18 22:16:07 +02:00
2019-11-28 17:13:04 +01:00
2020-05-20 15:30:20 +02:00
2020-03-18 16:57:34 +01:00
2017-01-07 22:35:09 +01:00
2019-11-28 17:13:04 +01:00
2020-05-19 12:12:45 +02:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2020-10-09 12:06:05 +02:00
2020-03-21 07:12:10 +01:00
2020-05-18 22:16:07 +02:00
2020-05-06 17:22:16 +02:00
2019-09-27 07:02:54 +02:00
2019-11-28 17:13:04 +01:00
2019-09-27 07:02:54 +02:00
2019-11-28 17:13:04 +01:00
2021-02-09 20:23:13 +01:00
2020-10-09 12:06:05 +02:00
2020-03-08 10:55:19 +01:00
2019-11-28 17:13:04 +01:00
2020-07-29 10:39:29 +02:00
2020-09-11 13:58:04 +02:00
2020-07-29 10:43:48 +02:00
2020-03-05 16:02:34 +01:00
2020-10-09 10:04:24 +02:00
2020-03-21 07:12:10 +01:00
2019-11-28 17:13:04 +01:00
2021-02-02 14:35:54 +01:00
2020-03-26 15:18:45 +00:00
2020-03-26 15:18:45 +00:00

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 https://nim-lang.org/docs/intern.html for more information.