[dmd-internals] [D-Programming-Language/dmd] 9487b3: CTFE: UTF foreach_reverse shouldn't reverse codepo...
noreply at github.com
noreply at github.com
Thu Aug 4 11:02:46 PDT 2011
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 9487b3ddbb1498afa2dc76f41ad20f4b88d73889
https://github.com/D-Programming-Language/dmd/commit/9487b3ddbb1498afa2dc76f41ad20f4b88d73889
Author: Don Clugston <dclugston at googlemail.com>
Date: 2011-08-04 (Thu, 04 Aug 2011)
Changed paths:
M src/interpret.c
Log Message:
-----------
CTFE: UTF foreach_reverse shouldn't reverse codepoints
The spec isn't clear about what should happen when a decoded character
doesn't fit into a single target codepoint. This commit makes it so that
if you call foreach_reverse() over a string, and concatenate every character
you get, the effect is the same as str.reverse. That is, within a character,
the code points are NOT reversed.
Commit: 310a79c18c5a2337ccb0b9dd452180bcdbef050c
https://github.com/D-Programming-Language/dmd/commit/310a79c18c5a2337ccb0b9dd452180bcdbef050c
Author: Walter Bright <walter at walterbright.com>
Date: 2011-08-04 (Thu, 04 Aug 2011)
Changed paths:
M src/interpret.c
M test/compilable/interpret3.d
Log Message:
-----------
Merge pull request #292 from donc/ctfebreak
Fix broken CTFE foreach
Compare: https://github.com/D-Programming-Language/dmd/compare/86fb0da...310a79c
More information about the dmd-internals
mailing list