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 private.

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

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to