go/types: specious "invalid recursive type" error? #60130
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Given:
go/types currently reports:
Notably, changing the field type from
i
to*i
makes the error go away. I don't see any fundamental reason why that should make a difference though.Synthetic test case, constructed while trying to write additional test cases for #60117.
/cc @adonovan @findleyr @griesemer @ianlancetaylor
The text was updated successfully, but these errors were encountered: