/ go Public
go/types, cmd/compile: "invalid type loop" depending on declaration order #51244
A change that should be done early in the 3 month dev cycle.
The path to resolution is known, but the work has not been done.
types2 currently rejects the test case below with "invalid recursive type A". Swapping the order of declarations for A and B makes the error go away.
/cc @findleyr @griesemer @ianlancetaylor
The text was updated successfully, but these errors were encountered: