mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
cmd/internal/goobj: make error output clear
This commit is contained in:
parent
86b5ba7310
commit
4101a1595b
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ func mkbuiltin(w io.Writer) {
|
|||
continue
|
||||
}
|
||||
if decl.Tok != token.VAR {
|
||||
log.Fatal("unhandled declaration kind", decl.Tok)
|
||||
log.Fatal("unhandled declaration kind: ", decl.Tok)
|
||||
}
|
||||
for _, spec := range decl.Specs {
|
||||
spec := spec.(*ast.ValueSpec)
|
||||
|
@ -92,7 +92,7 @@ func mkbuiltin(w io.Writer) {
|
|||
}
|
||||
}
|
||||
default:
|
||||
log.Fatal("unhandled decl type", decl)
|
||||
log.Fatal("unhandled decl type: ", decl)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue