Skip to content

Conversation

eernstg
Copy link
Member

@eernstg eernstg commented May 28, 2025

This PR changes the rules about augmentation of constructors such that an incomplete factory is able to defer the decision about implementing the constructor by a redirection or by a body. See #4172 for details.

@munificent
Copy link
Member

I like the general direction here, but if we're going to loosen the proposal so that augmentations can fill in default values, I think we should go all the way and let them do it for all functions.

@eernstg
Copy link
Member Author

eernstg commented Jun 10, 2025

I changed the rules to allow all kinds of augmentable functions (incl. constructors) to specify a default value for an optional parameter in the introductory declaration or in an augmentation, but at most once, PTAL!

@eernstg
Copy link
Member Author

eernstg commented Jun 13, 2025

@munificent, WDYT?

@eernstg eernstg force-pushed the specify_augment_redirection_may25 branch from 4ac903e to ae929b8 Compare July 9, 2025 10:35
Copy link
Member

@munificent munificent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can loosen this up a little more. If you're OK with that, LGTM!

@eernstg eernstg force-pushed the specify_augment_redirection_may25 branch from ae929b8 to 0aa6add Compare August 1, 2025 15:57
@eernstg eernstg force-pushed the specify_augment_redirection_may25 branch 2 times, most recently from 5355a4b to bd43d37 Compare August 22, 2025 14:43
@eernstg
Copy link
Member Author

eernstg commented Aug 22, 2025

@munificent, this one was rebased around the file renaming operations, PTAL.

Copy link
Member

@munificent munificent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing then still LGTM. Thanks!

@eernstg eernstg force-pushed the specify_augment_redirection_may25 branch from b715407 to ac2d4b7 Compare October 3, 2025 08:06
@eernstg eernstg merged commit 0f33c2f into main Oct 10, 2025
4 checks passed
@eernstg eernstg deleted the specify_augment_redirection_may25 branch October 10, 2025 15:29
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