Merge: core/list: fix `List::clear` so it resets `length` to 0
authorJean Privat <jean@pryen.org>
Thu, 25 Feb 2016 14:02:28 +0000 (09:02 -0500)
committerJean Privat <jean@pryen.org>
Thu, 25 Feb 2016 14:02:28 +0000 (09:02 -0500)
This bug lead to segmentation faults when iterating over the items of a list after a call to `clear`.

Pull-Request: #1962
Reviewed-by: Jean Privat <jean@pryen.org>


Trivial merge