]> Cypherpunks repositories - gostls13.git/commit
go/ast: fix Object's doc comment about Data
authorHironao OTSUBO <motemen@gmail.com>
Thu, 12 Jan 2017 14:21:53 +0000 (23:21 +0900)
committerRobert Griesemer <gri@golang.org>
Thu, 19 Jan 2017 04:55:19 +0000 (04:55 +0000)
commit6593d8650da5d19787bea9383dabe94f36fa04be
tree223279b97d7d564eb776a976eedcb2f199afd2d2
parentc1730ae424449f38ea4523207a56c23b2536a5de
go/ast: fix Object's doc comment about Data

The doc comment about the Data field of go/ast.Object reflects its old
behavior, from when the go/types typechecker depended on ast.Objects.

Since when the doc was written, the behavior has changed in
https://golang.org/cl/7058060 and https://golang.org/cl/7096048 .

Fixes #18631

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