fix property enforcement

This commit is contained in:
k-hara 2014-05-17 19:00:26 +09:00
parent 0c58d564e2
commit e96c387027

View file

@ -3012,7 +3012,7 @@ version (unittest)
@property bool empty() { return array.length == 0; }
@property C front() { return array[0]; }
@property C back() { return array[$ - 1]; }
@property size_t opDollar() { return length(); }
@property size_t opDollar() { return length; }
C opIndex(size_t i) { return array[i]; }
}
void popFront() { array = array[1 .. $]; }