summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-02-03 21:21:32 -0500
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-02-03 21:21:32 -0500
commit769652ac9060a9a382bae679d819f320eaec936b (patch)
treeb374d8f743ea00ca72c0120b394ec9adb131be52
parenta0d3bd16e73c98840c65ab890064e1aa750b7060 (diff)
downloadNim-769652ac9060a9a382bae679d819f320eaec936b.tar.gz
Expose exception parent
This can be safely exposed because a proc accessor can be created if the
representation changes.
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 12c5c6303..958372bb5 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -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.