Gustavo Niemeyer
unread,Nov 28, 2013, 12:53:10 PM11/28/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jasper Timm, chris dollin, golang-nuts, Lukáš Zapletal
Yeah, it's a selector rather than an identifier:
http://golang.org/ref/spec#Selectors
With that said ...
> I think there being a 'new variable' is the whole idea here. In my mind at
> least, ':=' for multiple entries on the LHS translates to
> ':=' for new terms
> and
> '=' for everything known.
>
> Is that wrong?
It's not how it works today, but it doesn't feel like a totally
unacceptable perspective either. I actually wished that would work a
few times too, and IIRC none of the main developers have demonstrated
strong disagreement to that. It is probably a "let's wait a bit"
situation.
I suggest opening an issue, so it's properly tracked and responded to.
gustavo @
http://niemeyer.net