Skip to content
GitLab
Projects
Groups
Snippets
/
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
c69a7873
Commit
c69a7873
authored
Apr 26, 2003
by
pfdietz
Browse files
Another test of :initform inheritance.
parent
35a0a653
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/defclass-02.lsp
View file @
c69a7873
...
...
@@ -315,3 +315,17 @@
z
x y z)))
;;; Initforms are inherited even if :allocation changes
(defclass class-0211a ()
((a :allocation :instance :initform 'x)))
(defclass class-0211b (class-0211a)
((a :allocation :class)))
(deftest class-0211.1
(values
(slot-value (make-instance 'class-0211a) 'a)
(slot-value (make-instance 'class-0211b) 'a))
x x)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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