[elephant-devel] Bug, omission, or desired behaviour?
Alain Picard
Dr.Alain.Picard at gmail.com
Fri Oct 2 02:05:32 UTC 2009
Hello all,
I've noticed that elephant blithely ignores type declarations on slots;
e.g. something like this:
(deftype position ()
`(integer 1 99))
(defclass foo-object ()
((name :type string
:index t
:reader foo-name
:initarg :name)
(position :type position
:accessor foo-position
:initform 1))
(:metaclass persistent-metaclass))
Elephant will happily let me store 100 in the foo-object position slot.
Cheers,
Alain Picard
--
Please read about why Top Posting
is evil at: http://en.wikipedia.org/wiki/Top-posting
and http://www.dickalba.demon.co.uk/usenet/guide/faq_topp.html
Please read about why HTML in email is evil at: http://www.birdhouse.org/etc/evilmail.html
More information about the elephant-devel
mailing list