Descriptioncmd/gc: add missing conversion from bool to interface in switches.
In switches without an expression, the compiler would not convert the implicit true to an interface, causing codegen errors.
Fixes issue 3980.
Patch Set 1 #Patch Set 2 : diff -r 23b89fb47d66 https://code.google.com/p/go/ #Patch Set 3 : diff -r 23b89fb47d66 https://code.google.com/p/go/ #
Total comments: 4
Patch Set 4 : diff -r 23b89fb47d66 https://code.google.com/p/go/ #Patch Set 5 : diff -r d27358d77d44 https://code.google.com/p/go/ #MessagesTotal messages: 5
|