cmd/cgo: fix recursive type mapping
Instead of immediately completing pointer type mappings, add them to a queue to allow them to be completed later. This fixes issues caused by Type() returning arbitrary in-progress type mappings. Fixes #8368. Fixes #8441. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/122850043
Showing
misc/cgo/test/issue8441.go
0 → 100644
Please
register
or
sign in
to comment