]> Cypherpunks repositories - gostls13.git/commit
stricter rules for assignment.
authorRuss Cox <rsc@golang.org>
Thu, 21 May 2009 21:06:24 +0000 (14:06 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 21 May 2009 21:06:24 +0000 (14:06 -0700)
commit8b6b3806059aa7d74322cd0f59c9a3fb4f9919dd
treebff0c3c2d35540b4df50dbcfa32ee45f7c871639
parentb9159722dd874c9ef64dd16af49084077d7a9bb8
stricter rules for assignment.
when assigning a multifield object
(structs or arrays of structs) they
must not contain any fields that could
not be assigned individually.

R=ken
OCL=29192
CL=29194
src/cmd/gc/walk.c
test/assign.go [new file with mode: 0644]