fix long-standing bug in doc reader: - replace forward-declared types with complete   declaration when it is found
fix long-standing bug in doc reader:
- replace forward-declared types with complete
  declaration when it is found

R=rsc
DELTA=23  (15 added, 0 deleted, 8 changed)
OCL=32618
CL=32618

mhennings/marcohennings-go,webfd/go-zh,glycerine/jeaten-go-arrayof-structof,webfd/go-zh,webfd/go-zh,sanjosh/sanjos100-tipc,scirelli/scirelli-go,Triskite/willstone-goclone,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,Triskite/willstone-goclone,npe9/noahevans-go9,mhennings/marcohennings-go,sanjosh/sanjos100-tipc,webfd/go-zh,rdp/rogerpack2005-golang,Triskite/willstone-goclone,mhennings/marcohennings-go,npe9/noahevans-go9,sanjosh/sanjos100-tipc,Triskite/willstone-goclone,mhennings/marcohennings-go,npe9/noahevans-go9,rflanagan/reginaldflanagan-project1,glycerine/jeaten-go-arrayof-structof,scirelli/scirelli-go,bryanxu/go-zh,sanjosh/sanjos100-tipc,d0f/go-zh,mhennings/marcohennings-go,rflanagan/reginaldflanagan-project1,Triskite/willstone-goclone,mhennings/marcohennings-go,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,rdp/rogerpack2005-golang,rflanagan/reginaldflanagan-project1,rdp/rogerpack2005-golang,webfd/go-zh,mhennings/marcohennings-go,scirelli/scirelli-go,webfd/go-zh,d0f/go-zh,scirelli/scirelli-go,Triskite/willstone-goclone,rdp/rogerpack2005-golang,glycerine/jeaten-go-arrayof-structof,glycerine/jeaten-go-arrayof-structof,npe9/noahevans-go9,bryanxu/go-zh,glycerine/jeaten-go-arrayof-structof,rdp/rogerpack2005-golang,sanjosh/sanjos100-tipc,bryanxu/go-zh,Triskite/willstone-goclone,webfd/go-zh,rflanagan/reginaldflanagan-project1,rflanagan/reginaldflanagan-project1,mhennings/marcohennings-go,npe9/noahevans-go9,bryanxu/go-zh,bryanxu/go-zh,scirelli/scirelli-go,scirelli/scirelli-go,Triskite/willstone-goclone,d0f/go-zh,rflanagan/reginaldflanagan-project1,npe9/noahevans-go9,rflanagan/reginaldflanagan-project1,bryanxu/go-zh,bryanxu/go-zh,glycerine/jeaten-go-arrayof-structof,scirelli/scirelli-go,npe9/noahevans-go9,bryanxu/go-zh,glycerine/jeaten-go-arrayof-structof,rdp/rogerpack2005-golang,d0f/go-zh,d0f/go-zh,d0f/go-zh,webfd/go-zh,npe9/noahevans-go9,d0f/go-zh,glycerine/jeaten-go-arrayof-structof,rdp/rogerpack2005-golang,sanjosh/sanjos100-tipc,d0f/go-zh,scirelli/scirelli-go