February 15, 2014 [phobos] [D-Programming-Language/phobos] c9fe96: Fix Issue 7654 - Fix Rebindable of narrow strings. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: c9fe9679d43de8b960bb0bfcb208637dc28e0452 https://github.com/D-Programming-Language/phobos/commit/c9fe9679d43de8b960bb0bfcb208637dc28e0452 Author: Peter Alexander <peter.alexander.au@gmail.com> Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M std/typecons.d Log Message: ----------- Fix Issue 7654 - Fix Rebindable of narrow strings. `Rebindable!(const(T)[])` should be `T[]`, but `Rebindable` was using `ElementType` instead of `ElementEncodingType`, which would result in `dchar[]` for narrow strings. This pull fixes this simple mistake. https://d.puremagic.com/issues/show_bug.cgi?id=7654 Commit: a35a00efb9171297e3119849bb77d2b9a46717df https://github.com/D-Programming-Language/phobos/commit/a35a00efb9171297e3119849bb77d2b9a46717df Author: monarch dodra <monarchdodra@gmail.com> Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M std/typecons.d Log Message: ----------- Merge pull request #1941 from Poita/bug7654 Fix Issue 7654 - Fix Rebindable of narrow strings. Compare: https://github.com/D-Programming-Language/phobos/compare/969d7fe0fa96...a35a00efb917 |
Copyright © 1999-2021 by the D Language Foundation