A recent change to Go compilers, "gc: diagnose unused labels"
(http://code.google.com/p/go/source/detail?r=570c3ce8), makes compilation of
srv/srv.go fail:
srv.go:323: label unknown defined and not used
After that label definition is removed, the package compiles again:
--- a/p/srv/srv.go
+++ b/p/srv/srv.go
@@ -320,7 +320,6 @@
switch req.Tc.Type {
default:
- unknown:
req.RespondError(&p.Error{"unknown message type", syscall.ENOSYS})
case p.Tversion:
Original issue reported on code.google.com by mt4...@googlemail.com on 25 Mar 2011 at 9:31
Original issue reported on code.google.com by
mt4...@googlemail.com
on 25 Mar 2011 at 9:31