Skip to content

Rename "Target-typed static member lookup" to "access" and spec factory containers #9601

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
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jnm2
Copy link
Contributor

@jnm2 jnm2 commented Aug 9, 2025

Viewing link

This follows up from the last LDM on this topic, where there was interest in reconciling the proposal with the library API guidance of not putting factory methods on generic classes. This means the factory method is on a separate, nongeneric class. A proposal is included for how and why such factory methods could be accessed via dotted static member access alongside singleton members of the generic type.

@jnm2 jnm2 requested a review from a team as a code owner August 9, 2025 16:02
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