Skip to content

Type Layout -> Layout; Make values primary #934

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

Open
Havvy opened this issue Jan 17, 2021 · 0 comments
Open

Type Layout -> Layout; Make values primary #934

Havvy opened this issue Jan 17, 2021 · 0 comments
Labels
A-type-layout Area: type layout C-bug Incorrect statements, terminology, or rendering issues

Comments

@Havvy
Copy link
Contributor

Havvy commented Jan 17, 2021

Values have a defined layout, but types don't always have defined layout.

E.g. dynamically sized types have dynamic types and where padding is located depends on which enum discriminant is active.

As such, we should rename the type layout chapter to just layout and describe it as properties of values and then state that types may have defined properties if all values of the type have the same value for that property.

@Havvy Havvy added C-bug Incorrect statements, terminology, or rendering issues A-type-layout Area: type layout labels Jan 17, 2021
@Havvy Havvy mentioned this issue Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-layout Area: type layout C-bug Incorrect statements, terminology, or rendering issues
Projects
None yet
Development

No branches or pull requests

1 participant