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

CLOS: precedence of classes



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