[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: :type bug?



>(defclass foo () ((a :type number)))
>(defclass bar () ((a)))
>
>Clearly, the following are true:
>
>(slotd-type (car (class-slots (find-class 'foo)))) ==> NUMBER
>(slotd-type (car (class-slots (find-class 'bar)))) ==> NUMBER

I think what you mean here is:

	(defclass foo () ((a :type number)))
	(defclass bar (foo) ((a)))

Otherwise:

	(slotd-type (car (class-slots (find-class 'bar))))  ==> T

or?

		jak