1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:54:42 -07:00

cmd/api: fix typo.

R=gri, r
CC=golang-dev
https://golang.org/cl/5659048
This commit is contained in:
Nigel Tao 2012-02-14 12:37:57 +11:00
parent 31ab16f98e
commit e8d30eb404

View File

@ -767,7 +767,7 @@ func (w *Walker) walkStructType(name string, t *ast.StructType) {
case *ast.SelectorExpr:
w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))
default:
log.Fatal("unable to handle embedded starexpr before %T", typ)
log.Fatalf("unable to handle embedded starexpr before %T", typ)
}
case *ast.SelectorExpr:
w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))