diff options
Diffstat (limited to 'src/go/ast/ast.go')
-rw-r--r-- | src/go/ast/ast.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/go/ast/ast.go b/src/go/ast/ast.go index a197b5a5bf..2ecc48b741 100644 --- a/src/go/ast/ast.go +++ b/src/go/ast/ast.go @@ -848,6 +848,7 @@ type ( TypeSpec struct { Doc *CommentGroup // associated documentation; or nil Name *Ident // type name + Assign token.Pos // position of '=', if any Type Expr // *Ident, *ParenExpr, *SelectorExpr, *StarExpr, or any of the *XxxTypes Comment *CommentGroup // line comments; or nil } |