Circular inheritance is not allowed

The compiler has detected circular inheritance between classes. This is the case if a class inherits from another class, which in turn (indirectly) inherits from the first class. Example:

class A(B) {
}

class B(A) {  ; Error!
}

Fix this error by removing the circular link in the inheritance chain:

class A {
}

class B(A) {  ; OK
} 

See Also
Errors