summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-02 01:07:02 +0100
committerAraq <rumpf_a@web.de>2014-02-02 01:07:02 +0100
commitb96aa59aefb5aaf24e839e4419d536a9556953a9 (patch)
tree2896d40468e9acbfc7935fd2cf816f5ebe6474c2 /doc
parentefcbaa965e84588c8ff9ed5a62b79820dd5ea5ca (diff)
downloadNim-b96aa59aefb5aaf24e839e4419d536a9556953a9.tar.gz
merge issue #707 by hand
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 260f0807a..baa0f3366 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -4672,6 +4672,10 @@ These rules ensure that the construction is tied to a variable and can easily
 be destructed at its scope exit. Later versions of the language will improve
 the support of destructors.
 
+Be aware that destructors are not called for objects allocated with ``new``.
+This may change in future versions of language, but for now use 
+the ``finalizer`` parameter to ``new``.
+
 
 delegator pragma
 ----------------