Fix derivable objects in documentation

This commit is contained in:
def
2015-03-09 17:21:02 +01:00
parent 41ce6571a3
commit f4ce521cd8

View File

@@ -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