The Case Against Autodecode

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Mon May 30 20:50:48 PDT 2016


On Monday, 30 May 2016 at 21:39:14 UTC, Vladimir Panteleev wrote:
> Perhaps it would be worth trying to silently remove 
> autodecoding and seeing how much of Phobos breaks, as an 
> experiment. Has this been tried before?

Did it, the results are a large number of phobos modules fail to 
compile because of template constraints that test for 
is(Unqual!(ElementType!S2) == dchar). As a result, anything that 
imports std.format or std.uni fails to compile. Also, I see some 
errors caused by the fact that is(string.front == immutable) now.

Is hard to find specifics because D halts execution after one 
test failure.


More information about the Digitalmars-d mailing list