Previously, if the result was not wanted, the received (value, ok) tuple had no type for 'value'. Now it is always set to the channel's element type. Also: set the position on such receive instructions to that of the = or := token, and document it. + (indirect) test via pointer analysis. R=crawshaw, gri CC=golang-dev https://golang.org/cl/12956052 |
||
|---|---|---|
| .. | ||
| testdata | ||
| TODO | ||
| analysis.go | ||
| api.go | ||
| callgraph.go | ||
| doc.go | ||
| gen.go | ||
| intrinsics.go | ||
| labels.go | ||
| pointer_test.go | ||
| print.go | ||
| solve.go | ||
| util.go | ||