[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CLOS: precedence of classes
- To: clisp-list@[129.13.115.2]
- Subject: CLOS: precedence of classes
- From: hoehle@inf-wiss.uni-konstanz.de (Joerg-Cyril Hoehle)
- Date: Fri, 27 Jan 95 13:18:07 +0100
Hi,
what's wrong with the following
(defclass class1 () ())
#<STANDARD-CLASS CLASS1>
1. Break> (defclass class2 (class1) ())
#<STANDARD-CLASS CLASS2>
1. Break> (defclass class3 (class1 class2) ())
*** - DEFCLASS CLASS3: inconsistent precedence graph, cycle (#<STANDARD-CLASS CLASS2> #<STANDARD-CLASS CLASS1>)
2. Break>
Why isn't the precedence of class3 not simply (class2 class1)?
Joerg Hoehle.
hoehle@inf-wiss.uni-konstanz.de