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

Disallow pointer types for record parameters #4077

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Conversation

jcouv
Copy link
Member

@jcouv jcouv commented Oct 28, 2020

Note: I'm not calling out restricted types, which are an existing restriction on fields.

Although we don't typically document warnings in the spec, I think it's okay to include the unread parameter warning.

There are two open questions for LDM:

  • confirm whether pointer types or unsafe types are disallowed for instance fields in records
  • confirm the warning on unread positional parameters

Note: I'm not calling out restricted types, which are an existing restriction on fields.

Although we don't typically document warnings, I think it's okay to include the unread parameter warning.
@jcouv jcouv merged commit b2b83ee into master Oct 30, 2020
@jcouv jcouv deleted the dev/jcouv/restricted-type branch October 30, 2020 05:17
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