Assignments to "comma, ok" expressions on the lhs of an assignment are not permitted unless we have map index "comma, ok" expression. Created new operand mode 'mapindex' to distinguish this case. Renamed mode 'valueok' to the more commonly used 'commaok' term, which also makes it easier to distinguish from simply 'value'. Added corresponding tests. Fixes a TODO. R=adonovan CC=golang-dev https://golang.org/cl/14526049 |
||
---|---|---|
.. | ||
exact | ||
types | ||
vcs |