We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd9570 commit 6eb11b2Copy full SHA for 6eb11b2
src/go/ast/ast.go
@@ -902,7 +902,7 @@ type (
902
903
// A GenDecl node (generic declaration node) represents an import,
904
// constant, type or variable declaration. A valid Lparen position
905
- // (Lparen.Line > 0) indicates a parenthesized declaration.
+ // (Lparen.IsValid()) indicates a parenthesized declaration.
906
//
907
// Relationship between Tok value and Specs element type:
908
0 commit comments