On 02/02/2014 13:18, Nick Treleaven wrote:
auto cn = checkNull(cast(C)null); NotNull!C nn = cn;obj2 is then null, when it shouldn't be allowed.
Oops, I meant nn, not obj2.
On 02/02/2014 13:18, Nick Treleaven wrote:
auto cn = checkNull(cast(C)null); NotNull!C nn = cn;obj2 is then null, when it shouldn't be allowed.
Oops, I meant nn, not obj2.