Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Proposal: record structs #4334

Open
4 of 5 tasks
Tracked by #829
jcouv opened this issue Jan 15, 2021 · 4 comments
Open
4 of 5 tasks
Tracked by #829

Proposal: record structs #4334

jcouv opened this issue Jan 15, 2021 · 4 comments
Assignees
Labels
Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification Proposal champion Proposal
Milestone

Comments

@jcouv
Copy link
Member

jcouv commented Jan 15, 2021

Allow value type records with record struct.

Secondarily, we would also allow record class (with same meaning as record) and allow explicit declarations of positional members using different member kinds (get/set property, or field).

References

@Thaina
Copy link

Thaina commented Jan 18, 2021

The first link is broken

@saint4eva
Copy link

The first link is broken

Just remove the (.) at the end of the link.

@yaakov-h
Copy link
Member

The link is also /edit/ rather than /blob/

@333fred
Copy link
Member

333fred commented Jan 18, 2021

Fixed, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification Proposal champion Proposal
Projects
None yet
Development

No branches or pull requests

5 participants