From 9257c29ffd68fffd61c68061318ca52bb8324b4c Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 19 Jan 2013 02:09:08 +0100 Subject: small bugfix for lambdalifting; preparations for a better testing framework --- lib/pure/json.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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] -- cgit 1.4.1-2-gfad0