summary refs log tree commit diff stats
path: root/doc/manual/procs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/procs.txt')
-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