mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
36ca5fde68
commit
34b277f046
20 changed files with 25 additions and 113 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue