Quantum64
01/09/2023, 8:55 AMinterface A : A.B {
interface B {
}
}
The error is "There's a cycle in the inheritance hierarchy for this type", however, this doesn't make sense because a nested interface's type isn't dependent on the outer interface's type at all. Can anyone provide some insight?
Additionally, why would the above be disallowed when the following is allowed?
interface A : Iterable<A.B> {
interface B {
}
}
CLOVIS
01/09/2023, 1:52 PMA.B
has no impact on A
. No idea why the first one is forbidden, though.Stephan Schröder
01/09/2023, 6:25 PMCLOVIS
01/09/2023, 6:51 PMephemient
01/10/2023, 12:48 AM