With D 2.063 the follwing code no longer compiles:
import std.json;
import std.typecons;
void main()
{
JSONValue value = void;
value.type = JSON_TYPE.NULL;
Nullable!JSONValue(value);
}
phobos/std/typecons.d(1178): Error: cannot implicitly convert expression (value) of type JSONValue to inout(JSONValue)
test.d(9): Error: template instance std.typecons.Nullable!(JSONValue).Nullable.__ctor!() error instantiating
Without the recently added 'inout' in 'this()(T value) inout' of 'struct Nullable(T)' it used to work.