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