lots of small changes

This commit is contained in:
Arne Döring 2018-12-05 19:03:01 +01:00 • committed by Araq
commit a5ecbf823f
85 changed files with 180 additions and 110 deletions

View file

@ -36,7 +36,7 @@ proc pointlessWrapper(s: string): Data =
proc main =
var x = pointlessWrapper"test"
when isMainModule:
when true:
main()
# bug #985

View file

@ -1,5 +1,5 @@
discard """
output: '''true'''
output: "turn_destroy_into_finalizer works"
"""
type
@ -17,6 +17,9 @@ proc main =
for i in 1..50_000:
new(r)
r.id = i
echo destroyed > 30_000
if destroyed > 30_000:
echo "turn_destroy_into_finalizer works"
else:
echo "turn_destroy_into_finalizer failed: ", destroyed
main()