Open
Conversation
henrikt-ma
reviewed
Mar 10, 2026
| \section{Record Constructor Functions}\label{record-constructor-functions} | ||
|
|
||
| Whenever a record is defined, a record constructor function with the same name and in the same scope as the record class is implicitly defined according to the following rules: | ||
| Whenever a scalar record is defined, a record constructor function with the same name and in the same scope as the record class is implicitly defined according to the following rules: |
Collaborator
There was a problem hiding this comment.
Just asking: Is there a risk of confusion when speaking of a scalar record? Could it be interpreted as a record just a single member of "size one"?
Collaborator
Author
There was a problem hiding this comment.
I doubt that, especially as it doesn't work with the rest of the text.
henrikt-ma
reviewed
Mar 10, 2026
Collaborator
henrikt-ma
left a comment
There was a problem hiding this comment.
I am leaving it for @qlambert-pro to provide a review with approval.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3820
I think this covers all of the discussed cases.
As far as I can see it is also consistent with the previous intent, but just missed: