diff options
author | Araq <rumpf_a@web.de> | 2013-01-19 02:09:08 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-01-19 02:09:08 +0100 |
commit | 9257c29ffd68fffd61c68061318ca52bb8324b4c (patch) | |
tree | e8bf64d7bf80d8f6fde7d73378049058b9bab954 /lib | |
parent | a4b1ca3306afb277c0d0e7aacede2d6c63f13aeb (diff) | |
download | Nim-9257c29ffd68fffd61c68061318ca52bb8324b4c.tar.gz |
small bugfix for lambdalifting; preparations for a better testing framework
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/pure/json.nim | 2 |
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] |