From 769652ac9060a9a382bae679d819f320eaec936b Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Tue, 3 Feb 2015 21:21:32 -0500 Subject: [PATCH] Expose exception parent This can be safely exposed because a proc accessor can be created if the representation changes. --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 12c5c63036..958372bb53 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.