On Tue, Aug 1, 2017 at 2:34 PM Fumi Takeuchi <fmodqueen...@gmail.com> wrote:

> Example code: https://play.golang.org/p/dVtPVt3oKt
>
> Maybe `fallthrough` statement cannot be used in `if` block even if it's
put inside `swicth` block)

True: It may be used only as the final non-empty statement in such a clause
<https://golang.org/ref/spec#Fallthrough_statements>.

> 3. Other (please comment)

https://play.golang.org/p/8rL0zqaLP3

-- 

-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.

Reply via email to