Skip to content

Support defining struct with field with no args - #343

Merged
jcrist merged 1 commit into
mainfrom
struct-def-field-no-args
Mar 15, 2023
Merged

Support defining struct with field with no args#343
jcrist merged 1 commit into
mainfrom
struct-def-field-no-args

Conversation

@jcrist

@jcrist jcrist commented Mar 15, 2023

Copy link
Copy Markdown
Member

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