Descriptiontest: fix return.go to not use fallthrough in a type switch
The gc compiler only gives an error about fallthrough in a
type switch if it has not given any errors in an earlier pass.
Remove all functions in this test that use fallthrough in a
type switch because they don't test anything useful and they
cause gccgo to give unexpected errors.
Patch Set 1 #Patch Set 2 : diff -r cfc3eab6195a https://code.google.com/p/go #
MessagesTotal messages: 3
|