[fpc-pascal] not possible add into class helper overloaded variant of some virtual method

Sven Barth pascaldragon at googlemail.com
Mon Nov 18 20:04:08 CET 2013


On 18.11.2013 18:05, ko paka wrote:
> Hello,
>
> in actual trunk - fpc 2.7.1 -  is not possible to do folloving:
>
[snip]
>
> When I try to compile it, error "Wrong number of parameters ...." will
> be shown. Based on documentation I found
> (http://www.freepascal.org/docs-html/ref/refse50.html) it should be
> possible. Is it a bug or am I missed something ?
>
> One point more - when I had defined class helper type in same unit as
> main program (so not in separate unit uStringListHelper), compiler
> behavior was like there is no class helper defined. Is this correct as
> well ?

Both cases should work. Please report a bug.

Regards,
Sven



More information about the fpc-pascal mailing list