Skip to content

Pascal Constructors & Destructors #2

@madorin

Description

@madorin

Hello Adriano,

Could you change PascalGenerator class to generate contructor & destructor names in a more object pascal way, ie first char capitalized (Create, Destroy). Now it all go lowercase.

Also, in base class, TObject destructor is defined as: procedure Destroy; virtual;
It means in override implementation you should call "inherited;" after specific class cleanup.

I just analyzed a bit generated code in FbApi.pas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions