This commit is contained in:
Andreas Rumpf 2020-07-25 20:26:30 +02:00
commit 624762cfb7
2 changed files with 22 additions and 0 deletions

View file

@ -24,6 +24,7 @@ whiley ends :(
new line before - @['a']
new line after - @['a']
finalizer
aaaaa
closed
destroying variable: 20
destroying variable: 10
@ -282,3 +283,13 @@ proc hello(): int =
var leaves {.global.} = hello()
doAssert leaves == 42
# bug #15052
proc mutstrings =
var data = "hello"
for c in data.mitems():
c = 'a'
echo data
mutstrings()