September 01, 2011 [dmd-internals] [D-Programming-Language/dmd] 43fc4a: 6558 [CTFE] UTF-decoding foreach gives wrong index... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 43fc4a3cdd48a3109a98e8c78de2f1c2bfe28842 https://github.com/D-Programming-Language/dmd/commit/43fc4a3cdd48a3109a98e8c78de2f1c2bfe28842 Author: Don Clugston <nospam at nospam.com> Date: 2011-09-01 (Thu, 01 Sep 2011) Changed paths: M src/interpret.c Log Message: ----------- 6558 [CTFE] UTF-decoding foreach gives wrong index (1-indexed) Forward index is the index before decoding the character; reverse index is the index after decoding. Commit: d0e2e7899a23dfe0511cf049944ca8d0b2727c36 https://github.com/D-Programming-Language/dmd/commit/d0e2e7899a23dfe0511cf049944ca8d0b2727c36 Author: Don Clugston <nospam at nospam.com> Date: 2011-09-01 (Thu, 01 Sep 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Test case for 6558 This was a bug in the fix for 3512, so I add it to the existing test case. Commit: 34f2b4ddfafcea4d561e3c1ac8318db79f713638 https://github.com/D-Programming-Language/dmd/commit/34f2b4ddfafcea4d561e3c1ac8318db79f713638 Author: Walter Bright <walter at walterbright.com> Date: 2011-09-01 (Thu, 01 Sep 2011) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #361 from donc/ctfebreak CTFE: wrong-code bug 6558: out-by-1 error in UTF foreach Compare: https://github.com/D-Programming-Language/dmd/compare/8945eae...34f2b4d |
Copyright © 1999-2021 by the D Language Foundation