bug284: make conversion legal, fix error patterns
bug284: make conversion legal, fix error patterns

R=gri
CC=golang-dev
http://codereview.appspot.com/1612041
abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go