Skip to content

Commit 5c8624a

Browse files
wingrezgopherbot
authored andcommitted
cmd/internal/goobj: make error output clear
Change-Id: Ic8510037e5d745f3c9f1b9c203439d3fe2e2d5a5 GitHub-Last-Rev: 4101a15 GitHub-Pull-Request: #74703 Reviewed-on: https://go-review.googlesource.com/c/go/+/689515 Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Keith Randall <[email protected]> Auto-Submit: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 44d73df commit 5c8624a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/internal/goobj/mkbuiltin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func mkbuiltin(w io.Writer) {
7878
continue
7979
}
8080
if decl.Tok != token.VAR {
81-
log.Fatal("unhandled declaration kind", decl.Tok)
81+
log.Fatal("unhandled declaration kind: ", decl.Tok)
8282
}
8383
for _, spec := range decl.Specs {
8484
spec := spec.(*ast.ValueSpec)
@@ -92,7 +92,7 @@ func mkbuiltin(w io.Writer) {
9292
}
9393
}
9494
default:
95-
log.Fatal("unhandled decl type", decl)
95+
log.Fatal("unhandled decl type: ", decl)
9696
}
9797
}
9898

0 commit comments

Comments
 (0)