Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
3aba4b41
Commit
3aba4b41
authored
Nov 28, 2002
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expanded comment explaining a potentially problematic test.
parent
2f8353ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
ansi-tests/loop8.lsp
ansi-tests/loop8.lsp
+9
-2
No files found.
ansi-tests/loop8.lsp
View file @
3aba4b41
...
...
@@ -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 6.1.1.7) 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
(classify-error
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment