[go-nuts] Re: fallthrough for select

2018-05-07 Thread matthewjuran
The proposal I opened for this was declined recently: https://github.com/golang/go/issues/23196 Matt On Saturday, May 5, 2018 at 11:35:08 PM UTC-5, Simon Chevrier wrote: > > Hi, I know this is kind of old and I'm not sure anyone will answer, but > even after the previous discussion I feel like

Re: [go-nuts] Re: fallthrough for select

2018-05-06 Thread Jan Mercl
On Sun, May 6, 2018 at 6:34 AM wrote: > ... I feel like any kind of switch-like statements should be able to fallthrough. switch x := f.(type) { case *Foo: ... falthrough case *Bar: x.Baz() // <-

[go-nuts] Re: fallthrough for select

2018-05-05 Thread sim . chevrier
Hi, I know this is kind of old and I'm not sure anyone will answer, but even after the previous discussion I feel like any kind of switch-like statements should be able to fallthrough. The answer that it doesn't make sense because you're supposed to choose between different available channel