Expose exception parent

This can be safely exposed because a proc accessor can be created if the
representation changes.
This commit is contained in:
Flaviu Tamas
2015-02-03 21:21:32 -05:00
parent a0d3bd16e7
commit 769652ac90

View File

@@ -343,7 +343,7 @@ type
##
## Each exception has to inherit from `Exception`. See the full `exception
## hierarchy`_.
parent: ref Exception ## parent exception (can be used as a stack)
parent*: ref Exception ## parent exception (can be used as a stack)
name: cstring ## The exception's name is its Nim identifier.
## This field is filled automatically in the
## ``raise`` statement.