[Issue 22988] Error: shift by -1 is outside the range `0..31`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 5 08:55:10 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22988

--- Comment #4 from Max Samukha <maxsamukha at gmail.com> ---
(In reply to Max Samukha from comment #3)

> enum b = l ? a[l] : 0;

Should be:
enum b = l ? a[l - 1] : 0;

--


More information about the Digitalmars-d-bugs mailing list