]> Cypherpunks repositories - gostls13.git/commit
go/types: minor cleanups
authorRobert Griesemer <gri@golang.org>
Wed, 15 Jun 2016 22:22:35 +0000 (15:22 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 16 Aug 2016 00:18:34 +0000 (00:18 +0000)
commit3dc082f8fea3ee2710f1d1929169fb49ddf2622a
tree76354e0cfaee807bccd9c6c3be02fbdeabfe38bd
parent5c84441d888655ebcc57c2ba2db834f97fa6d102
go/types: minor cleanups

1) Removed mark field from declInfo struct. Instead use a visited map
   in ordering.go which was the only use place for the mark field.

2) Introduced objSet type for the common map[Object]bool type.

3) Improved comments.

Change-Id: I7544e7458d844b0ca08193f11de6238d317eaf2d
Reviewed-on: https://go-review.googlesource.com/24153
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/initorder.go
src/go/types/ordering.go
src/go/types/resolver.go