cmd/compile: spurious error for use of struct field with undefined type #54405
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go 1.19 (and tip):
The second error, on line 4, should not be printed.
Note that there is no second error involving y.
Something about the struct field is confusing the matter.
https://go.dev/play/p/UQP8ZveEPVh
The text was updated successfully, but these errors were encountered: