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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
The test case doesn't need templates.

a.d:
----
import b: Derived;

class Base
{
    private void func() {}
}

void foo() { new Derived().func(); }
----

b.d:
----
import a: Base;
class Derived : Base {}
----

`dmd -c a b`:
----
a.d(8): Deprecation: a.Base.func is not visible from class Derived
----

--

Reply via email to