[fpc-pascal] Interface bug or some new feature

Sven Barth pascaldragon at googlemail.com
Sun Jan 6 14:00:09 CET 2019

Am 06.01.2019 um 12:56 schrieb Jonas Maebe:
> On 06/01/19 11:42, denisgolovan wrote:
>> Specifically 3.1.1 compiler compiles it and correctly prints "Double".
>> 3.3.1 compiler refuses to compile it at all.
>> Please comment if it's a bug or a new breaking feature.
> http://wiki.freepascal.org/User_Changes_Trunk#Methods_implementing_interface_methods_and_overloads 

But shouldn't that specifc example work? TClass1.P is public here, not 

Also unlike FPC Delphi does not give the following warning: Warning: An 
inherited method is hidden by "P(Double);"


More information about the fpc-pascal mailing list