#282 Multiple-value-bind values-form not evaluated when vars-list is empty

HEAD
closed
nobody
None
1
2 hours ago
2014-02-16
Anonymous
No

The values-form of MULTIPLE-VALUE-BIND is not evaluated when there are no vars to bind.

Example:

(block nil
  (tagbody
     (return (multiple-value-bind () (go :fail) :bad))
   :fail
     (return :ok)))

returns :BAD.

Found this bug through a failing testcase on Optima. See https://github.com/m2ym/optima/issues/92

Discussion

  • P.Marek
    P.Marek
    2014-03-02

    thanks, d4f3997bdae9e20ea502ed20293e3aed992c00e4

     


Anonymous


Cancel   Add attachments