summary refs log tree commit diff stats
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-03-09 17:21:02 +0100
committerdef <dennis@felsin9.de>2015-03-09 17:21:02 +0100
commitf4ce521cd827611f4023a8b2f28611a53d7a8072 (patch)
tree1ae63c78be34327b30d563179113e52f25e359cb
parent41ce6571a32ecd63c67ba7f972c7fb1c0f4f9200 (diff)
downloadNim-f4ce521cd827611f4023a8b2f28611a53d7a8072.tar.gz
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