From f4ce521cd827611f4023a8b2f28611a53d7a8072 Mon Sep 17 00:00:00 2001 From: def Date: Mon, 9 Mar 2015 17:21:02 +0100 Subject: Fix derivable objects in documentation --- doc/manual/procs.txt | 4 ++-- 1 file 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 -- cgit 1.4.1-2-gfad0