diff options
author | William Langford <wlangfor@gmail.com> | 2014-09-22 20:11:07 -0400 |
---|---|---|
committer | William Langford <wlangfor@gmail.com> | 2014-09-22 20:14:46 -0400 |
commit | f7a2af70526ab632008bb646d2b0e82f5c1724c9 (patch) | |
tree | 45538f39af22cb0b8fd86074731f59fa2a7ff342 | |
parent | 456bafa82fd4a4154b2697fb36e9b3cdb76e0f92 (diff) |
Properly handle when objects cannot be folded
Fix #579.
-rw-r--r-- | compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -557,6 +557,8 @@ block gen_const_object(block expr) { break; } o = jv_object_set(o, k, v); + k = jv_null(); + v = jv_null(); } if (!is_const) { jv_free(o); |