From: Bruno Haible <bruno@cl...> - 2004-11-19 12:16:20
The MOP says that CLASS-PROTOTYPE "SIGNALs an ERROR if class has not
been finalized". Forward-referenced classes are not finalized. Therefore
CLASS-PROTOTYPE should give an error on them.
Here is a test case:
(defclass b (a) ())
(sb-pcl:class-prototype (find-class 'a))
On Fri, 19 Nov 2004, Bruno Haible wrote:
> (defclass b (a) ())
> (sb-pcl:class-prototype (find-class 'a))
> Expected: ERROR
> Got: NIL
Fixed in SBCL 0.8.16.43. Thanks for the report.
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."
Get latest updates about Open Source Projects, Conferences and News.