Commit Graph

1 Commits

Author SHA1 Message Date
xofyarg
7cac992175 Fix list slice index check (#359)
Given a list slice `li[i:j]`, the parser will crash when `i > j`. Add
a check to raise IndexOutOfRange.

Also add some tests.
2017-06-19 12:36:29 +02:00