]> Cypherpunks repositories - gostls13.git/commit
exp/locale/collate/build: fixed bug that was exposed by experimenting
authorMarcel van Lohuizen <mpvl@golang.org>
Mon, 20 Aug 2012 08:56:41 +0000 (10:56 +0200)
committerMarcel van Lohuizen <mpvl@golang.org>
Mon, 20 Aug 2012 08:56:41 +0000 (10:56 +0200)
commita8357f0160681d02e7b9abaf3a6ad3b87bb5a933
tree0d31ac8d078159be9540f07f41258b1cbf78060c
parent98883c811a217aa562f92e9bc03be3cd4fac5b5f
exp/locale/collate/build: fixed bug that was exposed by experimenting
with table changes.
NOTE: there is no test for this, but 1) the code has now the same
control flow as scan in exp/locale/collate/contract.go, which is
tested and 2) Builder verifies the generated table so bugs in this
code are quickly and easily found (which is how this bug was discovered).

R=r
CC=golang-dev
https://golang.org/cl/6461082
src/pkg/exp/locale/collate/build/contract.go