diff options
| -rw-r--r-- | init-macros.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-macros.fnl b/init-macros.fnl index 0489f48..3c54fec 100644 --- a/init-macros.fnl +++ b/init-macros.fnl @@ -847,7 +847,7 @@ macro checks for lists in bindings."} (each [i v (ipairs binding-vec)] (when (= 0 (% i 2)) (let [key (. binding-vec (- i 1)) - gs (gensym i)] + gs (gensym (tostring i))] (assert-compile (not (list? key)) "loop macro doesn't support multiple-value destructuring" key) ;; [sym1# sym2# etc...], for the function application below (table.insert gensyms gs) |