Comment #0 by ellery-newcomer — 2010-05-23T21:39:25Z
for D2, the spec is missing description of the following:
auto i = cast(const) 1;
auto i = cast(const shared) 1;
{etc}
auto i = cast() 1;
Love that last one.
Comment #1 by ellery-newcomer — 2010-11-24T14:20:49Z
surprised to find out that the last one actually does something:
const(uint) i;
const(uint[]) j;
assert(is(typeof( cast() i) == uint));
assert(is(typeof( cast() j) == const(uint)[]));
and here I was assuming it was a typo.