fixes #2420; negative indexing for slicing is obsolete (breaking change!)
This commit is contained in:
parent
46fb0e0bac
commit
2b80d75aa2
8 changed files with 82 additions and 79 deletions
8
tests/system/tsettostring.nim
Normal file
8
tests/system/tsettostring.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
discard """
|
||||
output: "{a, b, c}"
|
||||
"""
|
||||
|
||||
# bug #2395
|
||||
|
||||
let alphaSet: set[char] = {'a'..'c'}
|
||||
echo alphaSet
|
||||
Loading…
Add table
Add a link
Reference in a new issue