标题不清楚。这里我解释
我有一个包裹说package provide test
。它有classes
. 我正在使用Itcl
. 包具有以下结构
::itcl::class classA {
written something having constructor and methods
}
::itcl::class classB {
inherit ::test::classA
having its own constructor and methods
}
::itcl::class classC {
inherit ::test::classA
having its own constructor and methods
}
::itcl::class classD {
inehrit ::test::classB ::test::classC
having its own constructor and methods
}
当我需要时package test
,我得到以下错误
class "::test::classD" inherits base class "::test::classA" more than once:
我该如何处理错误