fixes #6279
This commit is contained in:
parent
57f0936f2a
commit
920f4acadf
4 changed files with 57 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
output: '''@[5, 5, 5]'''
|
||||
output: '''@[5, 5, 5, 5, 5]'''
|
||||
"""
|
||||
|
||||
# bug #1832
|
||||
|
|
@ -13,4 +13,7 @@ s.add x
|
|||
# Causes the 0 to appear:
|
||||
s.add s[s.high]
|
||||
|
||||
s.add s[s.len-1]
|
||||
s.add s[s.xlen-1]
|
||||
|
||||
echo s # @[5, 5, 0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue