On Mon, Apr 30, 2012 at 3:53 PM, Sergei Gorelkin
<sergei_gorel...@mail.ru> wrote:
> 30.04.2012 22:42, Marcos Douglas пишет:
>
>>
>> FPC 2.6.1 or 2.7.1 (trunk)?
>> I'm using 2.6.1 and I can't compile it.
>>
> I was testing with trunk, but I don't remember significant changes to this
> part of compiler after 2.6.0.
> What error do you get?
>
>
> Sergei

You're right, sorry.
See:

Ex:
  ImyInterface = interface
    procedure Foo;
  end;

 TmyClass = class(TInterfacedObject, ImyInterface)
 public
   procedure ImyInterface.Foo = myFoo;
   procedure myFoo;  << this line was missing
 end;

I thought it was not necessary.
Thank you.

Marcos Douglas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to