On Sun, May 6, 2018 at 6:34 AM <sim.chevr...@gmail.com> 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() // <- What type is 'x' here? } -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.