Open dlangBugzillaToGithub opened 10 years ago
This is really just one specific case of Typedef not being handled. I bet a lot of Phobos code simply doesn't work with Typedef. I'm not sure whether it's worth adding support, it might open a can of worms (or enhancement requests..).
Same error opposite direction:
void main ()
{
import std.typecons;
import std.conv;
alias vstring = Typedef!string;
auto v = 3.to!vstring;
}
../../src/phobos/std/conv.d(210): Error: none of the overloads of template `std.conv.toImpl` are callable using argument types `!(Typedef!(string, null, null))(int)`
[...]
bearophile_hugs reported this on 2013-12-07T07:09:15Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=11704
CC List
Description