]> Cypherpunks repositories - gostls13.git/commit
go/ast: fix comments misinterpreted as documentation
authorMatthew Dempsky <mdempsky@google.com>
Wed, 15 Jun 2016 19:33:47 +0000 (12:33 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 15 Jun 2016 20:40:38 +0000 (20:40 +0000)
commitd78d0de4d15019f87b04b49ba640a455f7c42512
treed62ac86ac60ff8582265aea60acc5e83d17d850e
parent26d6dc6bf8a7e5487844a63aa26a4de3afdd688e
go/ast: fix comments misinterpreted as documentation

The comments describing blocks of Pos/End implementations for various
nodes types are being misinterpreted as documentation for BadDecl,
BadExpr, BadStmt, and ImportSpec's Pos methods.

Change-Id: I935b0bc38dbc13e9305f3efeb437dd3a6575d9a1
Reviewed-on: https://go-review.googlesource.com/24152
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/ast/ast.go