"Symbol undefined" on interface with public getter and package setter
Ellery Newcomer
ellery-newcomer at utulsa.edu
Mon Feb 23 12:03:03 PST 2009
Daniel Keep wrote:
>
> TSalm wrote:
>>> I'm not sure but I think package is not virtual.
>> :-(
>> So there's really no way to have a method declared "package" in an
>> interface ?
>
> You also can't have a private function in an interface. This once lost
> me four days trying to figure out why my program wouldn't link despite
> the function very obviously being there.
>
> Stick to public functions only.
>
> -- Daniel
Double thanks! I ran into this issue just a day or two ago.
More information about the Digitalmars-d-learn
mailing list