Delphi interface inheritance: Why can't I access ancestor interface's members?
问题 Assume you have the following: //Note the original example I posted didn't reproduce the problem so //I created an clean example type IParent = interface(IInterface) ['{85A340FA-D5E5-4F37-ABDD-A75A7B3B494C}'] procedure DoSomething; end; IChild = interface(IParent) ['{15927C56-8CDA-4122-8ECB-920948027015}'] procedure DoSomethingElse; end; TGrandParent = class(TInterfacedObject) end; TParent = class(TGrandParent) end; TChild = class(TParent, IChild) private FChildDelegate: IChild; public