fixes #9674 [backport] (#13143)

This commit is contained in:
Andreas Rumpf
2020-01-14 16:20:48 +01:00
committed by GitHub
parent 8b00586488
commit 675ca997fb
2 changed files with 21 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ discard """
true false
100 300 100
1
1
'''
"""
@@ -69,4 +70,11 @@ block:
var nums = [1, 2]
foo(nums)
echo nums[0]
echo nums[0]
proc bug9674 =
var b = @[1,2,3]
var a = move(b)
echo a[0]
bug9674()