On Wed, 12 Oct 2016 09:21:07 -0700 (PDT)
> I don't like the spec docs for panic/recover in Golang, for the spec
> docs is vague and not clear on when recover will take effect.
> So, it looks the calling of recover only takes effect only when both
> of the following two conditions are met:
> 1. the caller of calling recover must be a deferred function calling .
> 2. the panic must happened in (may not originate from) the caller
> function of caller of calling recover.
Not to answer your question directly, but does  helps in
understanding this part of the language?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.