[Issue 1654] Array concatenation result should be implicitly castable between mutable and immutable if the elements support it.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 26 13:28:49 UTC 2019


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #32 from RazvanN <razvan.nitu1305 at gmail.com> ---
This code:

char *toStringz2(const(char)[] s)
{
    return (s ~ "\0").ptr;
}

compiles successfully today, so I am going to mark this one as WORKSFORME.

--


More information about the Digitalmars-d-bugs mailing list