lots of small changes
This commit is contained in:
parent
c0c35839cc
commit
a5ecbf823f
85 changed files with 180 additions and 110 deletions
|
|
@ -36,7 +36,7 @@ proc pointlessWrapper(s: string): Data =
|
|||
proc main =
|
||||
var x = pointlessWrapper"test"
|
||||
|
||||
when isMainModule:
|
||||
when true:
|
||||
main()
|
||||
|
||||
# bug #985
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue