diff options
author | Robert Griesemer <gri@golang.org> | 2016-11-29 14:39:06 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2016-11-29 23:11:17 +0000 |
commit | 6eb11b2c398b19ab2201487139e569eecebf8626 (patch) | |
tree | ceb65789da10c0627239d44032573d5336babed5 | |
parent | 4bd95702dd1e81f383ee67c14945620d30247908 (diff) | |
download | go-6eb11b2c398b19ab2201487139e569eecebf8626.tar.gz go-6eb11b2c398b19ab2201487139e569eecebf8626.zip |
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 <bradfitz@golang.org>
-rw-r--r-- | src/go/ast/ast.go | 2 |
1 files changed, 1 insertions, 1 deletions
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: // |