[fpc-devel] Interface: Method resolution clauses
Marcos Douglas
md at delfire.net
Mon Apr 30 18:38:49 CEST 2012
On Mon, Apr 30, 2012 at 12:25 PM, Sergei Gorelkin
<sergei_gorelkin at mail.ru> wrote:
> 30.04.2012 19:06, Marcos Douglas пишет:
>
>> Hi,
>>
>> Can I, using FPC trunk, do this sintaxe?
>>
>> type
>> TMemoryManager = class(TInterfacedObject, IMalloc, IErrorInfo)
>> function IMalloc.Alloc = Allocate;
>> procedure IMalloc.Free = Deallocate;
>> ...
>> end;
>>
>> I'm using 2.6.1 and do not works.
>>
> To my knowledge, this kind of stuff should work.
> What exact problem are you experiencing?
>
> Sergei
Simple. Does not compile.
Marcos Douglas
More information about the fpc-devel
mailing list