Skip to content

Add type groups proposal - #10310

Draft
MadsTorgersen wants to merge 3 commits into
mainfrom
madstorgersen-type-groups-proposal
Draft

Add type groups proposal#10310
MadsTorgersen wants to merge 3 commits into
mainfrom
madstorgersen-type-groups-proposal

Conversation

@MadsTorgersen

@MadsTorgersen MadsTorgersen commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • introduce type groups as shared, method-group-like lookup infrastructure for same-name accessible types across generic arities
  • define type-group-name syntax, cross-arity lookup, singleton ordinary types, accessibility, aliases, stopping, nested hiding, and same-arity ambiguity
  • keep inference, constructors, applicability, overload resolution, and type-pattern consumption out of scope

Shared proposal series

Layer csharplang proposal csharpstandard specification
Generalized inference #10311 #1
Type groups #10310 #2
Constructor inference #10312 #3

The csharplang proposal PRs are independent siblings based directly on main. The csharpstandard PRs are mechanically stacked in the order #1#2#3. Type groups are conceptually independent lookup infrastructure; constructor inference is their first consumer.

Champion issue

There is no known dedicated champion issue for this shared infrastructure. Issue ownership may need either a dedicated champion issue or a provisional association with constructor inference #9627.

Validation

  • git diff --check
  • reviewed against Design-Process.md and proposals/proposal-template.md
  • confirmed the proposal contains only proposals/type-groups.md and excludes obsolete draft terminology and design

Describe shared cross-arity type lookup and type-group formation for inference consumers.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
MadsTorgersen and others added 2 commits August 17, 2026 15:18
Clarify provisional champion ownership and connect the independent proposal series to the stacked standard changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Compress the proposal around its cross-arity lookup rules, authoritative specification map, and consumer boundaries.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

1 participant