Jump to content
Alberto Paganini

E2170 Cannot override a non-virtual method on Updating DSharp on Delphi XE2

Recommended Posts

Hello,

 
I am trying to update DSharp to the latest release. Before doing that I updated Spring4D successfully.
 
When I tried to update DSharp and build DSharp.Core.DelphiXE2.bpl I had the error message "[DCC Error] DSharp.Collections.Iterators.pas(54): E2170 Cannot override a non-virtual method"
Here below is the excerpt of the unit with line 54
 
  TCustomIterator<T> = class(TIterator<T>)
  private
    fProc: TIteratorProc<T>;
  public
    constructor Create(const proc: TIteratorProc<T>);

    function Clone: TIterator<T>; override;
    function MoveNext: Boolean; override; // line 54
  end;


 

Any idea of what I am missing out on?
 
Many thanks
Alberto

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×