Descriptioncmd/gc: avoid an internal error on invalid type switch.
The error was caused by a call to implements() even when
the type switch variable was not an interface.
Fixes issue 3786.
Patch Set 1 #Patch Set 2 : diff -r d5754b3d9f44 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r d5754b3d9f44 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r a281d4bd1ba6 https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|