[Issue 12656] Some functions in std.ascii can be @nogc

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 6 01:05:20 PDT 2014


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

bearophile_hugs at eml.cc changed:

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

--- Comment #5 from bearophile_hugs at eml.cc ---
(In reply to bearophile_hugs from comment #0)
> void main() @nogc {
>     import std.ascii: toLower, toUpper, isLower, isUpper;
>     auto c1 = toUpper('a');
>     auto c2 = toLower('A');
>     auto b1 = isLower('a');
>     auto b2 = isUpper('A');
> }

Fixed:

https://github.com/D-Programming-Language/phobos/commit/82377e5471411daf62acef480fccb5f487fec3ab

--


More information about the Digitalmars-d-bugs mailing list