Sub classing TTask in XE7: E2251 Ambiguous overloaded call to 'Create'
问题 I want to add some functionality to ITask/TTask. I wrapped the new methods in a new Interface (IMyTask) which inherits from ITask: type IMyTask = interface(ITask) procedure MyNewMethod; end; TMyTask = class(TTask, ITask, IMyTask) private FSomeList: TList<integer>; public procedure MyNewMethod; constructor Create(const AProc: TProc; AThreadPool: TThreadPool = nil); overload; constructor Create(Sender: TObject; Event: TNotifyEvent); overload; constructor Create(const Proc: TProc); overload;