Thread overview
[Issue 16663] [REG 2.072] std.unit.toUpper rejects an alias this to a string
Nov 10, 2016
Dicebot
Nov 10, 2016
Dicebot
Nov 10, 2016
Dicebot
Nov 11, 2016
anonymous4
November 10, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public@dicebot.lv

--- Comment #1 from Dicebot <public@dicebot.lv> ---
Checked, doesn't work with DMD 2.071.2 either. Looking at std.uni history, `toUpper` seems to have never accepted `alias this` string because of `isSomeString!T` constraint.

Are you sure you haven't missed some context?

--
November 10, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #2 from Dicebot <public@dicebot.lv> ---
Nevermind, I have found my mistake. Can reproduce indeed.

--
November 10, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #3 from Dicebot <public@dicebot.lv> ---
Introduced via https://github.com/dlang/phobos/pull/4790

--
November 11, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #4 from anonymous4 <dfj1esp02@sneakemail.com> ---
This probably falls under the same argument: this String is not supposed to be a range. Maybe extension of range functions to collections (autorangification) is in order.

--
November 20, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/8f8979ebe15adf6ef82c3f43b81388a61be99700 Revert "Merge pull request #4790 from JackStouffer/uni-private"

This reverts commit 1a7914a48cd7929373bb628f4938a8224de2167c, reversing changes made to d38727771b559828d50f01c70815f913e653b706.

Fixes issue 16663

https://github.com/dlang/phobos/commit/2f27e58b0e498aeecfdbce5178ad0bb700ab779c Add regression test for issue 16663

https://github.com/dlang/phobos/commit/de688d978d3319e87adbe549538c7f0b0aa7743d Merge pull request #4901 from Dicebot/revert-regressions2

Fix issue 16663: std.unit.toUpper rejects an alias this to a string

--
December 07, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/8f8979ebe15adf6ef82c3f43b81388a61be99700 Revert "Merge pull request #4790 from JackStouffer/uni-private"

https://github.com/dlang/phobos/commit/2f27e58b0e498aeecfdbce5178ad0bb700ab779c Add regression test for issue 16663

https://github.com/dlang/phobos/commit/de688d978d3319e87adbe549538c7f0b0aa7743d Merge pull request #4901 from Dicebot/revert-regressions2

--
December 27, 2016
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #7 from github-bugzilla@puremagic.com ---
Commits pushed to scope at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/8f8979ebe15adf6ef82c3f43b81388a61be99700 Revert "Merge pull request #4790 from JackStouffer/uni-private"

https://github.com/dlang/phobos/commit/2f27e58b0e498aeecfdbce5178ad0bb700ab779c Add regression test for issue 16663

https://github.com/dlang/phobos/commit/de688d978d3319e87adbe549538c7f0b0aa7743d Merge pull request #4901 from Dicebot/revert-regressions2

--
January 16, 2017
https://issues.dlang.org/show_bug.cgi?id=16663

--- Comment #8 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/8f8979ebe15adf6ef82c3f43b81388a61be99700 Revert "Merge pull request #4790 from JackStouffer/uni-private"

https://github.com/dlang/phobos/commit/2f27e58b0e498aeecfdbce5178ad0bb700ab779c Add regression test for issue 16663

https://github.com/dlang/phobos/commit/de688d978d3319e87adbe549538c7f0b0aa7743d Merge pull request #4901 from Dicebot/revert-regressions2

--