$MODE DELPHI - problem when declaration and definition are different.

Issue #29 resolved
Daniel Roziecki created an issue

Quote from wiki for $MODE DELPHI:

"A forward declaration does not have to be repeated exactly the same by the implementation of a function/procedure. In particular, you can omit the parameters when implementing the function or procedure."

db1.png

And ofc, code completion doesn't work too.

This is a quite problematic for me. I usually don't copy arguments from declaration to the definition. And I have a lot of code to move from Kylix to FreePascal.

Comments (8)

  1. Daniel Roziecki reporter

    In this example ofc. :)

    There is no "module_client" in code completion (in constructor).

    Are there sources for this addon available for download?

  2. Daniel Roziecki reporter

    This is not fully fixed yet.

    fpbug.png

    Variable module_client is still missing.

    Thanks for source code.

    Regards

  3. Daniel Roziecki reporter
    • changed status to open

    Problem still exists with global functions now.

    bug.png

    And for global functions doesn't work go to declaration/implementation too.

  4. Log in to comment