From: Robert Griesemer Date: Tue, 29 Nov 2016 22:39:06 +0000 (-0800) Subject: go/ast: fix doc string for ast.GenDecl X-Git-Tag: go1.8beta1~26 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6eb11b2c398b19ab2201487139e569eecebf8626;p=gostls13.git go/ast: fix doc string for ast.GenDecl Fixes #18109. Change-Id: I5e3a44422794b7bae7741523fb7cacb6ba147af7 Reviewed-on: https://go-review.googlesource.com/33669 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/go/ast/ast.go b/src/go/ast/ast.go index b6dc2a6c16..a197b5a5bf 100644 --- a/src/go/ast/ast.go +++ b/src/go/ast/ast.go @@ -902,7 +902,7 @@ type ( // A GenDecl node (generic declaration node) represents an import, // constant, type or variable declaration. A valid Lparen position - // (Lparen.Line > 0) indicates a parenthesized declaration. + // (Lparen.IsValid()) indicates a parenthesized declaration. // // Relationship between Tok value and Specs element type: //