-
Notifications
You must be signed in to change notification settings - Fork 5
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
Parsing anonymous nested structs fails #5
Comments
Thanks for reporting! I'll look into this problem |
g4s8
added a commit
that referenced
this issue
Feb 6, 2024
If the field is `envPrefix`-ed anonymous structure, then inspector handles this structure with random-generated type name and use field doc and comments as struct attributes. Fix: #5
The fix should be available in v0.1.1 version. |
Hi @g4s8 thanks it works now. Note that I get a segfault if there is no description comment. So this works:
But this segfaults:
|
Sorry, my bad. The panic was fixed in v0.1.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Parsing this config struct panics on the nested struct:
Error message:
Thanks for a handy tool!
The text was updated successfully, but these errors were encountered: