Join GitHub today
cmd/compile: type checking fails in cycle involving recursive struct and unsafe.Sizeof #14620
This should type check but does not:
Looks like the compiler gets confused by the not-quite-cycle in the definition.
The problem is that when typechecking a pointer to a named type like
A workaround is to move the