[Issue 15897] private base functions not callable from base class module without type change
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Apr 16 02:16:07 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15897
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at dawg.eu
--- Comment #3 from Martin Nowak <code at dawg.eu> ---
Yes I think that should compil, just like this works.
----
private void create(Animal animal) {}
class Animal
{
}
void foo(Cat cat)
{
cat.create(); // >> no property create for type 'b.cat'
}
----
--
More information about the Digitalmars-d-bugs
mailing list