go/types, types2: missing error for invalid cycle in function declaration #43215
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The following invalid cycle is currently detected by the compiler with the error "typechecking loop involving f".
https://play.golang.org/p/cfAFJHgsAkX
However no error is detected by go/types, both at master and in the
dev.typeparams
branch (where there have been some changes to cycle detection in function declarations).CC @griesemer
The text was updated successfully, but these errors were encountered: