mirror of
https://github.com/golang/go.git
synced 2025-10-30 00:00:56 +00:00
cmd/api: fix typo.
R=gri, r CC=golang-dev https://golang.org/cl/5659048
This commit is contained in:
parent
31ab16f98e
commit
e8d30eb404
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue