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

Value type constructors #88

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Value type constructors #88

merged 3 commits into from
Mar 27, 2024

Conversation

jwharm
Copy link
Owner

@jwharm jwharm commented Mar 27, 2024

Generate constructors to replace the allocate() factory methods on records (structs). The old methods are still available (but deprecated).

This adds a constructor for union types as well.

Generate constructors to replace the `allocate()` factory methods on records (structs). The old methods are still available (but deprecated).

This adds a constructor for union types as well.
@jwharm jwharm merged commit f872c68 into main Mar 27, 2024
@jwharm jwharm deleted the value-type-constructors branch April 1, 2024 19:39
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