[Issue 17712] [REG 2.074] [LINK] Undefined reference to std.conv.toChars!(10, char, 1, uint).toChars(uint)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 22 01:58:25 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=17712
moonlightsentinel at disroot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |moonlightsentinel at disroot.o
| |rg
--- Comment #21 from moonlightsentinel at disroot.org ---
Reduced test case without phobos that still fails with current dmd:
=============================================
// stdx/conv.d:
void to(T)(uint args)
{
toChars!10(args);
}
alias CodepointSet = InversionList!();
struct InversionList()
{
void toSourceCode()
{
toChars(0u);
}
}
void toChars(ubyte radix = 10, T)(T) {}
=============================================
// test.d:
void main()
{
import stdx.conv;
to!string(0u);
CodepointSet().toSourceCode();
}
=============================================
dmd -c stdx/conv.d
dmd test.d conv.o
--
More information about the Digitalmars-d-bugs
mailing list