From c35cc97b1e9019956e43d8e17b674f5a98305ced Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Mon, 11 Sep 2017 18:29:59 +0300 Subject: [PATCH] Fixed closure compiler incompatibility (#6365) --- lib/pure/json.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/json.nim b/lib/pure/json.nim index 03140e95d3..9dc9b51f3d 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -1284,7 +1284,7 @@ else: result.add(x[i].convertObject()) of JObject: result = newJObject() - asm """for (property in `x`) { + asm """for (var property in `x`) { if (`x`.hasOwnProperty(property)) { """ var nimProperty: cstring