Commit e8d30eb4 authored by Nigel Tao's avatar Nigel Tao

cmd/api: fix typo.

R=gri, r
CC=golang-dev
https://golang.org/cl/5659048
parent 31ab16f9
......@@ -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)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment