[dmd-beta] D2 2.058 beta 3
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Feb 12 15:25:22 PST 2012
To further drive the point home:
import std.algorithm;
import std.utf : count;
alias std.utf.count count; // *error* in 2.057, *required* in 2.058:
void main()
{
"1".count;
}
Without the alias, it's ok in 2.057, but error in 2.058.
In 2.057 if I already had selective imports I couldn't use an alias
because of an existing compiler bug. So I can't easily keep
compatibility between 2.057 and 2.058 without maybe using static
imports.
Anyway, the point is not that the old behavior was ok, but that these
major bugs have to be fixed ASAP and not be delayed so much since they
end up wreaking havoc on user code.
More information about the dmd-beta
mailing list