Descriptioncmd/gc: fix type checking loop
CL 4313064 fixed its test case but did not address a
general enough problem:
type T1 struct { F *T2 }
type T2 T1
type T3 T2
could still end up copying the definition of T1 for T2
before T1 was done being evaluated, or T3 before T2
was done.
In order to propagate the updates correctly,
record a copy of an incomplete type for re-execution
once the type is completed. Roll back CL 4313064.
Fixes issue 3709.
Patch Set 1 #Patch Set 2 : diff -r 721d528a4e91 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 721d528a4e91 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 721d528a4e91 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|