Descriptioncmd/gc: fix walkcompare bugs.
Revision c0e0467635ec (cmd/gc: return canonical Node* from temp)
exposed original nodes of temporaries, allowing callers to mutate
their types.
In walkcompare a temporary could be typed as ideal because of
this. Additionnally, assignment of a comparison result to
a custom boolean type was broken.
Fixes issue 7366.
Patch Set 1 #Patch Set 2 : diff -r 5e1898303c0c https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 5e1898303c0c https://go.googlecode.com/hg/ #Patch Set 4 : diff -r ba599658e88e https://go.googlecode.com/hg/ #
MessagesTotal messages: 4
|