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

Support defining struct with field with no args #343

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Mar 15, 2023

Previously using field() (with no arguments) to define a struct field would result in a segfault. This PR resolves that issue and adds a test.

Fixes #342.

Previously using `field()` (with no arguments) to define a struct field
would result in a segfault. This PR resolves that issue and adds a test.
@jcrist jcrist merged commit 316192d into main Mar 15, 2023
@jcrist jcrist deleted the struct-def-field-no-args branch March 15, 2023 14:54
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.

Segmentation fault (core dumped) passing core._Field as default value to defstruct
1 participant