The compiler can't "see" an inner class
Emmanuelle
VuLXn6DBW at PPtUm7TvV6nsw.com
Sun Oct 27 23:09:54 UTC 2019
On Sunday, 27 October 2019 at 19:54:06 UTC, Simen Kjærås wrote:
> It's a bug:
>
> interface A {
> interface B : A {
> class C : B {
> }
> }
> // Fails: no property 'C' for type 'foo.A.B'
> void inside(A.B.C c) { }
> }
> // Works
> void outside(A.B.C c) { }
>
> https://issues.dlang.org/show_bug.cgi?id=20329
>
> --
> Simen
Yikes! Thanks for submitting the issue to bugzilla :)
More information about the Digitalmars-d-learn
mailing list