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

document partial generics breaking changes, add auto convenience #24051

Closed
wants to merge 2 commits into from

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Sep 3, 2024

refs #24010, refs c-blake/cligen#233 (comment)

The breaking changes from #24010 regarding partial generic instantiation of routines no longer being allowed are now added to the changelog.

A convenience has also been added as an experimental feature of using auto in place of parameters that can be inferred in routine generic instantiations, for when the types are too complex to type normally. An example of where this would be useful is the PR to combparser that was needed for #24010. Unfortunately it wouldn't work in an older version so one would have to use a when version check to use auto in new versions and partial instantiation in old versions.

@Araq
Copy link
Member

Araq commented Sep 3, 2024

Nobody asked for this feature though. Better just document the breaking change.

@metagn
Copy link
Collaborator Author

metagn commented Sep 3, 2024

Opened separate PR for changelog to keep this as proof of concept: #24055

@metagn metagn closed this Sep 3, 2024
Araq pushed a commit that referenced this pull request Sep 4, 2024
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