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

[Nullable Reference Types] Nullable, Non-nullable, and "Nullable oblivous" reference types #1089

Closed
Tracked by #1085
BillWagner opened this issue Apr 26, 2024 · 0 comments · Fixed by #1124
Closed
Tracked by #1085
Assignees

Comments

@BillWagner
Copy link
Member

BillWagner commented Apr 26, 2024

Update the clause on types to describe the reference types for "nullable reference types", "non-nullable reference types", and reference types in a "nullable oblivous context".

This should include that there is an identity conversion among the nullable reference type, its non-nullable type and the corresponding "nullable oblivious" type. (For example between string and string?, note that string could mean a non-nullable reference type, or a nullable oblivious type).

It should also add a note (or possibly a normative statement) that the nullability of a reference type argument can't participate in overload resolution. Members can't be overloaded based on the nullability of a reference parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: 👀 In review
2 participants