Is it possible in D to define a variable inside a contract? I have the following function as member of an interface:
public @safe nothrow void eat(in ulong chunklength)
in { assert(chunklength < length); ulong oldlength = length; } // lenght is a member variable
out { assert(length == oldlength - chunklength); }