From: David Symonds Date: Tue, 2 Jul 2013 22:16:08 +0000 (+1000) Subject: go/ast: improve doc for FuncDecl's Type field. X-Git-Tag: go1.2rc2~1118 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1f954e5c45497a1c3f03ce4a87208ed9da1d29d6;p=gostls13.git go/ast: improve doc for FuncDecl's Type field. R=gri, r CC=golang-dev https://golang.org/cl/10679047 --- 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) } )