You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue appears to be similar to the later comments in #8259, but that issue was closed in March. Unsure how the closing comment applies here.
The text was updated successfully, but these errors were encountered:
vsergeev
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Oct 14, 2022
vsergeev
changed the title
std.builtin.TypeInfo.Declaration.data.FnDecl.arg_names is populated inconsistently for struct members
std.builtin.TypeInfo.Declaration.data.FnDecl.arg_names is populated inconsistently for struct declarations
Oct 14, 2022
Testing with 0.10.0-dev.4330+fb366f3cd, it seems Struct member of type info has been reorganized and that arg_names have been removed. I guess that's what the closing comment of #8259 referred to. If anybody knows of an alternate way to get the argument names, feel free to let me know 😉. Closing for now.
Zig Version
0.9.1
Steps to Reproduce
Case 1:
Case 2:
Expected Behavior
Both cases:
Actual Behavior
Case 1:
Case 2:
This issue appears to be similar to the later comments in #8259, but that issue was closed in March. Unsure how the closing comment applies here.
The text was updated successfully, but these errors were encountered: