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

Option to enable builder inheritance #28

Merged
merged 3 commits into from
Jun 17, 2019

Conversation

creckord
Copy link
Contributor

As outlined in #27, I suggest an option to make builders extend one another the same way as their subject classes do.

The option introduced in this PR is -imm-constructordefaults.

You can see it in action in the selftest code, where both the builders with and without inheritance are generated side by side. The tests themselves use the version with inheritance now.

@sabomichal sabomichal merged commit 705856b into sabomichal:master Jun 17, 2019
@sabomichal
Copy link
Owner

good job, thanks

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.

None yet

2 participants