~technomancy/fennel

f963d076d61cbc1ec970342aa9389f30fbaf67ce — Phil Hagelberg 17 hours ago 3ab44d7 main
Arithmetic specials can never take multivals.
1 files changed, 1 insertions(+), 2 deletions(-)

M src/fennel/specials.fnl
M src/fennel/specials.fnl => src/fennel/specials.fnl +1 -2
@@ 781,8 781,7 @@ Method name doesn't have to be known at compile-time; if it is, use
      (let [operands []
            padded-op (.. " " name " ")]
        (for [i 2 len]
          (let [subexprs (compiler.compile1 (. ast i) scope parent
                                            {:nval (if (not= i len) 1)})]
          (let [subexprs (compiler.compile1 (. ast i) scope parent {:nval 1})]
            (utils.map subexprs tostring operands)))
        (if (= (length operands) 1)
            (if unary-prefix