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
60f62c5c
Commit
60f62c5c
authored
Apr 26, 2003
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test that (SETF ...) can be a :writer.
parent
dec63c3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
ansi-tests/defclass-01.lsp
ansi-tests/defclass-01.lsp
+13
-0
No files found.
ansi-tests/defclass-01.lsp
View file @
60f62c5c
...
...
@@ -777,6 +777,19 @@
(s1 (make-instance 'class-25 :allow-other-keys 'foo :allow-other-keys 'bar))
foo)
;;;
(defclass class-26 ()
((s1-26 :writer (setf s1-26))))
(deftest class-26.1
(let ((c (make-instance 'class-26)))
(values
(slot-boundp c 's1-26)
(setf (s1-26 c) 'x)
(slot-value c 's1-26)
(typep* #'(setf s1-26) 'generic-function)))
nil x x t)
...
...
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