On Sun, May 6, 2018 at 6:34 AM <[email protected]> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.