summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-01-19 02:09:08 +0100
committerAraq <rumpf_a@web.de>2013-01-19 02:09:08 +0100
commit9257c29ffd68fffd61c68061318ca52bb8324b4c (patch)
treee8bf64d7bf80d8f6fde7d73378049058b9bab954 /lib
parenta4b1ca3306afb277c0d0e7aacede2d6c63f13aeb (diff)
downloadNim-9257c29ffd68fffd61c68061318ca52bb8324b4c.tar.gz
small bugfix for lambdalifting; preparations for a better testing framework
Diffstat (limited to 'lib')
-rwxr-xr-xlib/pure/json.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim
index cca1e4a70..d2516adfb 100755
--- a/lib/pure/json.nim
+++ b/lib/pure/json.nim
@@ -636,7 +636,7 @@ proc `[]`*(node: PJsonNode, name: String): PJsonNode =
       return item
   return nil
   
-proc `[]`*(node: PJsonNode, index: Int): PJsonNode {.raises: [EInvalidIndex].} =
+proc `[]`*(node: PJsonNode, index: Int): PJsonNode =
   ## Gets the node at `index` in an Array.
   assert(node.kind == JArray)
   return node.elems[index]