fixes #2420; negative indexing for slicing is obsolete (breaking change!)

This commit is contained in:
Araq 2015-03-28 00:15:04 +01:00
commit 2b80d75aa2
8 changed files with 82 additions and 79 deletions

View file

@ -0,0 +1,8 @@
discard """
output: "{a, b, c}"
"""
# bug #2395
let alphaSet: set[char] = {'a'..'c'}
echo alphaSet