Commit 4f79cef7 authored by Robert Griesemer's avatar Robert Griesemer

go/ast: ast.DeclStmt.Decl must be an *ast.GenDecl node (documentation)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6996046
parent 11a40cb3
...@@ -555,7 +555,7 @@ type ( ...@@ -555,7 +555,7 @@ type (
// A DeclStmt node represents a declaration in a statement list. // A DeclStmt node represents a declaration in a statement list.
DeclStmt struct { DeclStmt struct {
Decl Decl Decl Decl // *GenDecl with CONST, TYPE, or VAR token
} }
// An EmptyStmt node represents an empty statement. // An EmptyStmt node represents an empty statement.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment