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

GoaLitiuM <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |i.fi

--- Comment #6 from GoaLitiuM <[email protected]> ---
I recently hit a bug similar to this one, if not the same one, with this
following code:

import std.variant;
import std.typecons;

struct S {}
void main()
{   
    alias T = Typedef!(S, S.init);
    Variant v = T();
}

> /dlang/dmd/linux/bin64/../../src/phobos/std/range/primitives.d:276: error: 
> undefined reference to 
> '_D3std6format__T11hasToStringTSQBd8typecons__T7TypedefTS9onlineapp1SVQoS0VAyanZQBhTaZ9__lambda1MFZQBg3putMFNaNbNiNfaZv'
> /dlang/dmd/linux/bin64/../../src/phobos/std/range/primitives.d:276: error: 
> undefined reference to 
> '_D3std6format__T11hasToStringTSQBd8typecons__T7TypedefTS9onlineapp1SVQoS0VAyanZQBhTaZ9__lambda1MFZQBg3putMFNaNbNiNfaZv'
> /dlang/dmd/linux/bin64/../../src/phobos/std/range/primitives.d:276: error: 
> undefined reference to 
> '_D3std6format__T11hasToStringTSQBd8typecons__T7TypedefTS9onlineapp1SVQoS0VAyanZQBhTaZ9__lambda1MFZQBg3putMFNaNbNiNfaZv'
> collect2: error: ld returned 1 exit status
> Error: linker exited with status 1

--

Reply via email to