mirror of
https://github.com/golang/go
synced 2024-11-21 23:04:39 -07: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
@ -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…
Reference in New Issue
Block a user