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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 8 00:27:08 UTC 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10547 "Fix issue 20366 - fix a programming bug in ctfe
foreach_reverse code" was merged into stable:

- 450c957dc41fddb7b610ae8e492e8145a3235b85 by سليمان السهمي  (Suleyman Sahmi):
  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