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

apham <[email protected]> changed:

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

--- Comment #3 from apham <[email protected]> ---
Try different order & type -> still problem

void main()
{
    const(int)* a;
    const(void)* b;
    auto c = true ? b : a;
    pragma(msg, typeof(c)); 
}

onlineapp.d(5): Error: cannot implicitly convert expression `b` of type
`const(void)*` to `const(int)*`
const(int)*

--

Reply via email to