A type dependency cycle has been encountered.
Erroneous code example:
trait FirstTrait : SecondTrait {
}
trait SecondTrait : FirstTrait {
}
RunThe previous example contains a circular dependency between two traits:
FirstTrait
depends on SecondTrait
which itself depends on FirstTrait
.