Change-Id: Ie84d0e61697922c1e808d815fb7d9aec694ee8e9
Reviewed-on: https://go-review.googlesource.com/104615
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
// map[Key]Value
MapType struct {
- Key Expr
- Value Expr
+ Key, Value Expr
expr
}
Init SimpleStmt
Cond Expr
Then *BlockStmt
- Else Stmt // either *IfStmt or *BlockStmt
+ Else Stmt // either nil, *IfStmt, or *BlockStmt
stmt
}
SwitchStmt struct {
Init SimpleStmt
- Tag Expr
+ Tag Expr // incl. *TypeSwitchGuard
Body []*CaseClause
Rbrace Pos
stmt