From 3c461755e263ecaf7810bac25adb5d6d3f4d4a28 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 23 Sep 2018 13:41:33 +0200 Subject: enable destructors for top level statements; needs to be documented --- tests/destructor/t6434.nim | 2 ++ tests/destructor/tmove_objconstr.nim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/destructor/t6434.nim b/tests/destructor/t6434.nim index 1657e90bc..9c912f1f9 100644 --- a/tests/destructor/t6434.nim +++ b/tests/destructor/t6434.nim @@ -2,6 +2,8 @@ discard """ exitcode: 0 output: '''assingment assingment +assingment +assingment ''' """ diff --git a/tests/destructor/tmove_objconstr.nim b/tests/destructor/tmove_objconstr.nim index 178ff2a7d..50aecf46d 100644 --- a/tests/destructor/tmove_objconstr.nim +++ b/tests/destructor/tmove_objconstr.nim @@ -59,4 +59,4 @@ for x in getPony(): echo x # XXX this needs to be enabled once top level statements # produce destructor calls again. -echo "Pony is dying!" +#echo "Pony is dying!" -- cgit 1.4.1-2-gfad0