• Matthew Dempsky's avatar
    cmd/cgo: fix recursive type mapping · 0da4b2db
    Matthew Dempsky authored
    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
    0da4b2db
issue8441.go 536 Bytes