On Sun, Oct 15, 2017 at 8:59 PM <m...@inanc.io> wrote:

> I'm writing an article about iota and I've found that its counting
behavior is implemented in the below source code? Am I right, if not, where
it is? Can you help me?
>
>
https://github.com/golang/go/blob/90d71fe99e21b68e292327c966946f1706d66514/src/cmd/compile/internal/gc/noder.go#L263

AFAICS, the field named 'iota' at line 267 has nothing common with the
predeclared identifier 'iota' in the universe scope. The later _is_
special, as a field name in this case it's not.


-- 

-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