https://issues.dlang.org/show_bug.cgi?id=15897

Martin Nowak <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|private base functions not  |base class method not seen
                   |callable from base class    |w/ circular import
                   |module without type change  |

--- Comment #6 from Martin Nowak <[email protected]> ---
Interestingly this only fails when compiling both modules or only module b, but
not when only compiling module a.
It also fails w/ a public instead of a private create method, so this is likely
a forward reference issue due to the circular import. At best you resolve the
issue by taking the base class (Animal) as parameter to foo, rather than the
imported derived class (Cat).
Could anyone Digger the commit that introduced the problem?

--

Reply via email to