Recent

Author Topic: Invalid hint with reintroduced methods  (Read 1770 times)

Eugene Loza

  • Hero Member
  • *****
  • Posts: 671
    • My games in Pascal
Invalid hint with reintroduced methods
« on: February 06, 2017, 09:57:31 am »
When I have a reintroduced method (namely, constructor) with different amount of parameters and not in overload scope, in case I specify an incorrect procedure syntax the hint is shown as if the function/procedure was overloaded (while compilation fails for obvious reasons).
Lazarus 1.6.2 64 bit, FPC 3.0.0, Debian Jessie 64 bit.
Sample project and a screenshot attached. Just hover over "TObj2.create..." to see the wrong hint.
« Last Edit: February 08, 2017, 08:37:06 am by Eugene Loza »
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

 

TinyPortal © 2005-2018