From 8042e124e17496e8f60086a201a99c937763acbe Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Thu, 21 Aug 2014 21:06:57 +0100 Subject: [PATCH] Fixes compilation with 0.9.4 hopefully. --- src/babelpkg/compat.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babelpkg/compat.nim b/src/babelpkg/compat.nim index 307c24f..b40abfa 100644 --- a/src/babelpkg/compat.nim +++ b/src/babelpkg/compat.nim @@ -8,7 +8,7 @@ import json -when NimrodPatch <= 4 and NimrodMinor == 9: +when not NimrodPatch >= 5: when not defined(`{}`): proc `{}`*(node: PJsonNode, key: string): PJsonNode = ## Transverses the node and gets the given value. If any of the