Skip to content

Disallow pointer types for record parameters#4077

Merged
jcouv merged 2 commits intomasterfrom
dev/jcouv/restricted-type
Oct 30, 2020
Merged

Disallow pointer types for record parameters#4077
jcouv merged 2 commits intomasterfrom
dev/jcouv/restricted-type

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