http://d.puremagic.com/issues/show_bug.cgi?id=10724


Lu�s Marques <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #7 from Lu�s Marques <[email protected]> 2013-10-16 21:13:26 PDT 
---
The following used not to work in v2.063.2:

    const a = "a";
    const b = a ~ "b";
    const(char)* output = b;

    $ Error: cannot implicitly convert expression ("ab") of type
const(immutable(char)[]) to const(char)*

Although this worked:

    const b = "a" ~ "b";
    const(char)* output = b;

Now both work. I assume it was the fix for this issue (10724) that also fixed
this? I say fixed because at first glance the old behavior seems wrong, but it
seems such a basic statement that I wonder why this wasn't spotted before, or
if I'm making a mistake. So please confirm this change in behavior was also
desirable.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to