mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
go/parser: fix typo in tracing output (make trace match function)
Change-Id: Ia79c7c8c4245b1ff8221296bc47bcba257e153e2 Reviewed-on: https://go-review.googlesource.com/c/go/+/630895 Reviewed-by: Tim King <taking@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
4aa1c02dae
commit
c0bccdd2fd
@ -793,7 +793,7 @@ func (p *parser) parseParamDecl(name *ast.Ident, typeSetsOK bool) (f field) {
|
||||
// TODO(rFindley) refactor to be more similar to paramDeclOrNil in the syntax
|
||||
// package
|
||||
if p.trace {
|
||||
defer un(trace(p, "ParamDeclOrNil"))
|
||||
defer un(trace(p, "ParamDecl"))
|
||||
}
|
||||
|
||||
ptok := p.tok
|
||||
|
Loading…
x
Reference in New Issue
Block a user