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

Add convenience modifier #92

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Add convenience modifier #92

merged 1 commit into from
Dec 14, 2023

Conversation

dnkoutso
Copy link
Collaborator

@dnkoutso dnkoutso commented Dec 14, 2023

closes #83

An alternative implementation is to pass a boolean in constructorBuilder() of FunctionSpec. Not sure if this is the recommended way and happy to do that instead. I guess the problem is that a func can never be marked as convenience but there are other modifiers which can cause a problem anyway so I think the current solution is fine.

@dnkoutso dnkoutso merged commit 4ea5061 into main Dec 14, 2023
1 check passed
@oldergod oldergod deleted the convenience_init branch December 14, 2023 15:40
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.

Support convenience init
2 participants