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
71bd45e3
Commit
71bd45e3
authored
Jun 06, 2003
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another test of anonymous classes in type-of.
parent
91c81c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
ansi-tests/type-of.lsp
ansi-tests/type-of.lsp
+10
-7
No files found.
ansi-tests/type-of.lsp
View file @
71bd45e3
...
...
@@ -69,16 +69,19 @@
(type-of (make-instance 'type-of.example-class))
type-of.example-class)
(defparameter *type-of.example-class-2*
(defclass type-of.example-class-2 () ((a) (b) (c))))
(deftest type-of.8
(progn
(setf (class-name *type-of.example-class-2*) nil)
(eqt (type-of (make-instance *type-of.example-class-2*))
*type-of.example-class-2*))
(let ((class (eval '(defclass type-of.example-class-2 () ((a) (b) (c))))))
(setf (class-name class) nil)
(eqt (type-of (make-instance class)) class))
t)
(deftest type-of.9
(let ((class (eval '(defclass type-of.example-class-3 () ((a) (b) (c))))))
(setf (find-class 'type-of.example-class-3) nil)
(eqt (type-of (make-instance class)) class))
t)
;;; Error tests
(deftest type-of.error.1
...
...
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