HCoop
/
clinton
/
lisp-on-lines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e2ecf6
)
added a method for symbols so that (meta-model.metadata 'class) works.
author
Drew Crampsie
<drewc@tech.coop>
Thu, 7 Jul 2005 02:42:34 +0000
(19:42 -0700)
committer
Drew Crampsie
<drewc@tech.coop>
Thu, 7 Jul 2005 02:42:34 +0000
(19:42 -0700)
darcs-hash:
20050707024234
-5417e-
2b4477a0d360322de6c9e3ca2d757c2b1e27742c
.gz
src/meta-model.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/meta-model.lisp
b/src/meta-model.lisp
index
598debf
..
aabd2ff
100644
(file)
--- a/
src/meta-model.lisp
+++ b/
src/meta-model.lisp
@@
-22,6
+22,9
@@
(defmethod meta-model.metadata ((self (eql nil)))
nil)
(defmethod meta-model.metadata ((self (eql nil)))
nil)
+(defmethod meta-model.metadata ((self symbol))
+ (meta-model.metadata (make-instance self)))
+
(defun gen-supers (supers)
(let (subclassp)
(dolist (x supers)
(defun gen-supers (supers)
(let (subclassp)
(dolist (x supers)