"Symbol undefined" on interface with public getter and package setter

TSalm TSalm at free.fr
Sat Feb 21 14:04:56 PST 2009


Le Sat, 21 Feb 2009 04:00:42 +0100, Daniel Keep  
<daniel.keep.lists at gmail.com> a écrit:

>
>
> 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.

What a pity :(

Thanks.


More information about the Digitalmars-d-learn mailing list