Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
90b9e0f6
Commit
90b9e0f6
authored
Jan 08, 2005
by
pfdietz
Browse files
More free declaration scope tests
parent
ed213567
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/lambda.lsp
View file @
90b9e0f6
...
...
@@ -250,6 +250,28 @@
((lambda (&key &allow-other-keys)) :a 1 :b 2 :c 3)
nil)
;;; Free declaration scope
(deftest lambda.52
(let ((x :bad))
(declare (special x))
(let ((x :good))
((lambda (&optional (y x)) (declare (special x)) y))))
:good)
(deftest lambda.53
(let ((x :bad))
(declare (special x))
(let ((x :good))
((lambda (&key (y x)) (declare (special x)) y))))
:good)
(deftest lambda.54
(let ((x :bad))
(declare (special x))
(let ((x :good))
((lambda (&aux (y x)) (declare (special x)) y))))
:good)
;;; Tests of lambda as a macro
...
...
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