]> Cypherpunks repositories - gostls13.git/commit
go/ast: track position of <- for channel types
authorRobert Griesemer <gri@golang.org>
Wed, 3 Oct 2012 00:50:36 +0000 (17:50 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 3 Oct 2012 00:50:36 +0000 (17:50 -0700)
commit1659aef3990377081277c48304f7b63a3ce19092
tree12fef30e5df2d1552f9f398cb99039c8c8158c18
parent5f7f9062dbebd68978b449e241e66873320186ca
go/ast: track position of <- for channel types

This is a backward-compatible API change.

Without the correct <- position information,
certain channel types have incorrect position
information.

R=iant, iant
CC=golang-dev
https://golang.org/cl/6585063
src/pkg/go/ast/ast.go
src/pkg/go/parser/parser.go
src/pkg/go/parser/short_test.go
src/pkg/go/printer/nodes.go