]> Cypherpunks repositories - gostls13.git/commit
go/token: replaced Files() with Iterate()
authorRobert Griesemer <gri@golang.org>
Wed, 18 Jan 2012 22:10:42 +0000 (14:10 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 18 Jan 2012 22:10:42 +0000 (14:10 -0800)
commit9edabbe03832e1203d0819c27542b6316ca39d0d
treeb8ed18d5740ceb299faaacdbab6d3c37192b26da
parent6b3462820f5a1c97adfa148df0e1e37c37a3716c
go/token: replaced Files() with Iterate()

- Use a faster closure-based iterator rather than a channel-based one.
- Otherwise: better code organization, but no other API changes.

R=r, r
CC=golang-dev
https://golang.org/cl/5557051
src/pkg/exp/types/check_test.go
src/pkg/go/token/position.go
src/pkg/go/token/position_test.go