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
ea743b29
Commit
ea743b29
authored
Apr 18, 2009
by
ehuelsmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out CATCH.6, which is bogus.
Verified on #lisp, confirmed by crhodes and others.
parent
8614384d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
ansi-tests/catch.lsp
ansi-tests/catch.lsp
+14
-9
No files found.
ansi-tests/catch.lsp
View file @
ea743b29
...
...
@@ -24,15 +24,20 @@
(catch 'foo 'a (throw 'foo 'b) 'c)
b)
(deftest catch.6
(let ((tag1 (1+ most-positive-fixnum))
(tag2 (1+ most-positive-fixnum)))
(if (eqt tag1 tag2)
'good
(catch tag1
(catch tag2 (throw tag1 'good))
'bad)))
good)
;;
;; The test below is wrong:
;; Numbers can't be assumed to be EQ at
;; any time by conforming programs.
;;
;; (deftest catch.6
;; (let ((tag1 (1+ most-positive-fixnum))
;; (tag2 (1+ most-positive-fixnum)))
;; (if (eqt tag1 tag2)
;; 'good
;; (catch tag1
;; (catch tag2 (throw tag1 'good))
;; 'bad)))
;; good)
(deftest catch.7
(catch 'foo 'a (throw 'foo (values)) 'c))
...
...
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