]> Cypherpunks repositories - gostls13.git/commit
spec: complete list of special comma-ok forms
authorRobert Griesemer <gri@golang.org>
Wed, 24 Aug 2016 18:33:55 +0000 (11:33 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 24 Aug 2016 21:24:28 +0000 (21:24 +0000)
commit507051d6940c297bd93f5fac5cf786b0e3642d06
tree68d41e39468cf3a1330987fa0620a70a634b669e
parent78bc418f1d7f9346e3214ac40506624ab7f5f649
spec: complete list of special comma-ok forms

The enumerations didn't include the syntactic form where the lhs is
full variable declaration with type specification, as in:

var x, ok T = ...

Fixes #15782.

Change-Id: I0f7bafc37dc9dcf62cdb0894a0d157074ccd4b3e
Reviewed-on: https://go-review.googlesource.com/27670
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
doc/go_spec.html