From 1f954e5c45497a1c3f03ce4a87208ed9da1d29d6 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Wed, 3 Jul 2013 08:16:08 +1000 Subject: [PATCH] go/ast: improve doc for FuncDecl's Type field. R=gri, r CC=golang-dev https://golang.org/cl/10679047 --- src/pkg/go/ast/ast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/go/ast/ast.go b/src/pkg/go/ast/ast.go index c68f94d17b..efa0f04936 100644 --- a/src/pkg/go/ast/ast.go +++ b/src/pkg/go/ast/ast.go @@ -920,7 +920,7 @@ type ( Doc *CommentGroup // associated documentation; or nil Recv *FieldList // receiver (methods); or nil (functions) Name *Ident // function/method name - Type *FuncType // position of Func keyword, parameters and results + Type *FuncType // function signature: parameters, results, and position of "func" keyword Body *BlockStmt // function body; or nil (forward declaration) } ) -- 2.48.1