commit | 897ce971b06a39c217d02dce9e1361bc7a240188 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Jan 25 11:29:09 2018 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Jan 25 23:12:31 2018 +0000 |
tree | dc2a62f82ae34a73e2ccd101f9073182c3cc8aa2 | |
parent | 203cbe7d3820fa03c965a01f72461f71588fe952 [diff] |
compiler: look through aliases when looking for methods Add a Type::is_alias method to remove some existing loops and avoid adding a new one. Test case is https://golang.org/cl/89935. Fixes golang/go#23489 Change-Id: Ieec9bf57392ce77f56c9f42c6c6868741d21e86f Reviewed-on: https://go-review.googlesource.com/89975 Reviewed-by: Than McIntosh <thanm@google.com>