Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[RFC] OOP - Destructors #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

QuentinOchem
Copy link
Contributor

This RFC contains specific elements about the new destructor syntax, coming from the overall OOP discussion.

@QuentinOchem QuentinOchem changed the title OOP - Destructors [RFC] OOP - Destructors Sep 11, 2024
procedure My_Destructor (Self : in out T2);
end P;

The destruction sequence works in the following way:
Copy link
Member

@raph-amiard raph-amiard Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is not necessary, and even potentially dangerous to describe the destruction semantics in these terms, because we don't want to define finalization semantics twice. We should just explain how this maps to the Finalizable aspect.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants