Commit 3aba4b41 authored by pfdietz's avatar pfdietz
Browse files

Expanded comment explaining a potentially problematic test.

parent 2f8353ca
......@@ -118,8 +118,15 @@
;;; Error cases
;;; According to the spec, it is a program-error for any variable to be bound
;;; more than once in loop clauses in the same loop form.
;;; The spec says (in section that:
;;; "An error of type program-error is signaled (at macro expansion time)
;;; if the same variable is bound twice in any variable-binding clause
;;; of a single loop expression. Such variables include local variables,
;;; iteration control variables, and variables found by destructuring."
;;; This is somewhat ambiguous. Test loop.8.error.1 binds A twice in
;;; the same clause, but loop.8.error.2 binds A in two different clauses.
;;; I am interpreting the spec as ruling out the latter as well.
(deftest loop.8.error.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment