]> Cypherpunks repositories - gostls13.git/commit
spec: add example showing missing return statement
authorRob Pike <r@golang.org>
Fri, 22 Mar 2013 17:03:55 +0000 (10:03 -0700)
committerRob Pike <r@golang.org>
Fri, 22 Mar 2013 17:03:55 +0000 (10:03 -0700)
commitd02089101c9d8375d991b679c9a1c8432e415cd8
tree7f9ea16587fc60131a2e895f0c22bbf74d327092
parent07720b67b3696d57509bcdc3cb10affa9e1c887d
spec: add example showing missing return statement
Will help people find the rules by searching the spec by
having a comment saying "missing return";
"terminating statement" does not evoke the rule to the
uninitiated.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7838044
doc/go_spec.html