Interface methods not found when you define interface without body

Issue #30 resolved
Sorien created an issue
unit test;

interface

type
    IFoo = interface; // when you remove this line everythink is working as expected

    IFoo = interface(IInterface)
        function Faa(): Boolean;
    end;

    TFoo = class
    public
        Test: IFoo;
    end;

    procedure a();

implementation

procedure a();
var
    f: TFoo;
begin
    f.Test.<carret>
end;

end.

Comments (3)

  1. Log in to comment