use errchk in more places.

let errchk exit 0 even if it has reported a BUG.
it echoed BUG and that's all that matters.

R=r
DELTA=143  (1 added, 89 deleted, 53 changed)
OCL=32533
CL=32542
This commit is contained in:
Russ Cox 2009-07-30 16:46:14 -07:00
parent 36ca5fde68
commit 34b277f046
20 changed files with 25 additions and 113 deletions

View file

@ -10,5 +10,5 @@ func main() {
type Slice []byte;
a := [...]byte{ 0 };
b := Slice(&a); // This should be OK.
c := Slice(a); // ERROR "invalid"
c := Slice(a); // ERROR "invalid|illegal"
}