minor manual improvement; refs #5181
This commit is contained in:
parent
961096b564
commit
e95c5c926c
1 changed files with 2 additions and 1 deletions
|
|
@ -389,7 +389,8 @@ Multi-methods
|
||||||
=============
|
=============
|
||||||
|
|
||||||
Procedures always use static dispatch. Multi-methods use dynamic
|
Procedures always use static dispatch. Multi-methods use dynamic
|
||||||
dispatch.
|
dispatch. For dynamic dispatch to work on an object it should be a reference
|
||||||
|
type as well.
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
type
|
type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue