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>
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of May 31, 2016",
+ "Subtitle": "Version of August 24, 2016",
"Path": "/ref/spec"
}-->
v, ok = a[x]
v, ok := a[x]
var v, ok = a[x]
+var v, ok T = a[x]
</pre>
<p>
v, ok = x.(T)
v, ok := x.(T)
var v, ok = x.(T)
+var v, ok T1 = x.(T)
</pre>
<p>
x, ok = <-ch
x, ok := <-ch
var x, ok = <-ch
+var x, ok T = <-ch
</pre>
<p>