summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-03-09 22:59:18 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-03-09 22:59:18 +0100
commit796a588b1cd6bbfa5d49b521c9c8d52ff8a3e4fb (patch)
treedabf15d4baf2c05f6b4a409585b9f428345b66f5
parent3e82941f252015ec6ff8660e2c1c04d62984c255 (diff)
parentf4ce521cd827611f4023a8b2f28611a53d7a8072 (diff)
downloadNim-796a588b1cd6bbfa5d49b521c9c8d52ff8a3e4fb.tar.gz
Merge pull request #2299 from def-/fix-procs-doc
Fix derivable objects in documentation
-rw-r--r--doc/manual/procs.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/procs.txt b/doc/manual/procs.txt
index f48dfc6b9..9b04bf518 100644
--- a/doc/manual/procs.txt
+++ b/doc/manual/procs.txt
@@ -351,7 +351,7 @@ dispatch.
 
 .. code-block:: nim
   type
-    Expression = object ## abstract base class for an expression
+    Expression = object of RootObj ## abstract base class for an expression
     Literal = object of Expression
       x: int
     PlusExpr = object of Expression
@@ -387,7 +387,7 @@ dispatching:
 
 .. code-block:: nim
   type
-    Thing = object
+    Thing = object of RootObj
     Unit = object of Thing
       x: int