mirror of
https://github.com/golang/go
synced 2024-11-25 22:37:59 -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:
|
case *ast.SelectorExpr:
|
||||||
w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))
|
w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))
|
||||||
default:
|
default:
|
||||||
log.Fatal("unable to handle embedded starexpr before %T", typ)
|
log.Fatalf("unable to handle embedded starexpr before %T", typ)
|
||||||
}
|
}
|
||||||
case *ast.SelectorExpr:
|
case *ast.SelectorExpr:
|
||||||
w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))
|
w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))
|
||||||
|
Loading…
Reference in New Issue
Block a user