cmd/compile: struct literal error prints struct definition instead of struct name #68184
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Note that the plain x.B2 assignment prints a nice error mentioning VeryLongStruct by name.
In contrast, the same assignment in the struct literal prints the actual struct definition, which is too long to be useful. Saying
would be better.
/cc @griesemer
The text was updated successfully, but these errors were encountered: