[Issue 22611] ImportC: Need better error messages involving structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 2 13:01:10 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22611

--- Comment #3 from Lance Bachmeier <lance at lancebachmeier.com> ---
The line number is reported with the error, so that's not a big issue.
Something like

Error: 3 extra initializer(s) in struct

would be better than

Error: 3 extra initializer(s) for `struct __tag21`

because __tag21 is not known to the programmer.

--


More information about the Digitalmars-d-bugs mailing list