Skip to content

Conversation

@pat-rogers
Copy link
Contributor

No description provided.

@pat-rogers pat-rogers requested a review from gusthoff November 21, 2024 23:15
Ada, just as the use of the *public*, *private*, and *protected* parts of
classes is fundamental to creating abstractions in class-oriented
languages. Not every type can be private, as illustrated by the client
expectation for array indexing in Ada prior to Ada 2012. Not every type
Copy link
Collaborator

Choose a reason for hiding this comment

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

Adding "prior to Ada 2012" here makes the uninformed reader wonder why is it now different in Ada 2012... Maybe we should come up with better examples of the necessity of non-private types.

Comment on lines +88 to +90
Now, here's the rub.

Constructor functions require that same compile-time visibility so the
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Now, here's the rub.
Constructor functions require that same compile-time visibility so the
Now, here's the problem:
constructor functions require that same compile-time visibility so the

Improving comparison with the original version.
@gusthoff gusthoff merged commit c6697df into AdaCore:master Nov 24, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants