The following code compiles on DMD 2.064, 2.065, 2.066, 2.067 b1 but not 2.067 b2.
-------------------------
import std.variant;
alias Atom = Algebraic!(string, This[]);
Atom makeNil()
{
Atom[] values = [];
return Atom(values);
}
void main()
{
}
-------------------------
What I get now:
Error: static assert "Cannot store a VariantN!20u[] in a VariantN!(8u, string, This[])"
It used to work nicely. I would be nice to have at least a work-around for this.