Brad King 05604eb9cb list: Handle errors on empty lists more gracefully (#13138)
Since commit ed1ea24c (Fix INSERT to allow inserting to empty list,
2006-05-15) the list command allows insertion into an empty list at
index 0.  Fix rejection of insertion at non-zero (negative) indices to
present an error message instead of crashing.

While at it, fix the error message of the GET and REMOVE_AT operations
when the list is empty to not present a bogus allowed range.

Add a "RunCMake.list" test to cover failure cases on empty lists.
2012-04-17 11:07:07 -04:00
..
2012-03-13 11:53:38 -04:00
2012-04-05 00:05:07 -04:00
2012-03-19 09:29:06 -04:00
2012-03-19 23:05:21 +01:00
2011-09-15 16:20:33 +02:00
2011-10-23 22:18:08 +02:00
2010-09-10 14:42:09 -04:00
2011-10-23 22:18:08 +02:00
2006-03-10 13:54:57 -05:00
2012-02-02 23:40:21 +00:00
2012-02-21 15:33:31 -05:00