[Issue 20366] CTFE foreach_reverse on array with utf characters crashes compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 7 21:21:08 UTC 2019


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@SSoulaimane created dlang/dmd pull request #10547 "Fix issue 20366 - fix a
programming bug in ctfe foreach_rverse code" fixing this issue:

- Fix issue 20366 - programming bug in ctfe foreach_rverse code

  Index is not decremented which causes bounds checking error.

https://github.com/dlang/dmd/pull/10547

--


More information about the Digitalmars-d-bugs mailing list