On Sun, Aug 14, 2016 at 3:33 PM, Tim Hockin <thoc...@google.com> wrote:
> Edit:  It looks like this has more to do with being an interface
> method than an embedded type.
>
> https://play.golang.org/p/I5XPdWR_O0

Hmmm, you're right.  It only happens for a value method.

> Is there a generic way to get the caller safely, or should I just
> check for <autogenerated> and increment?

I think that is what you should do here.

Ian

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