]> Cypherpunks repositories - gostls13.git/commit
go/types: go/types: add an API test of the Scope type
authorAlan Donovan <adonovan@google.com>
Mon, 29 Jun 2015 20:13:09 +0000 (16:13 -0400)
committerAlan Donovan <adonovan@google.com>
Mon, 29 Jun 2015 20:16:18 +0000 (20:16 +0000)
commitc77809e9032f83fdf6ddfda5b5a19f6771962488
treee1c39d0c22fd786418717c21d7bdbb71cdc5abb3
parent34846aef78e2e27da8eaadff2d9ea78cd99d491d
go/types: go/types: add an API test of the Scope type

Also: make (*Scope).Innermost work for Package scopes.

This change is identical to http://go-review.googlesource.com/#/c/11691/,
except for minor changes required by the use of testImporter.

Change-Id: Id07e66f78987f7242c2e642dfd6ee613676e10e5
Reviewed-on: https://go-review.googlesource.com/11714
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/api_test.go
src/go/types/scope.go