From cf1e27bbdaf64faeb286a20cd9abf0f93cfee9cb Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 16 Sep 2013 13:18:56 -0700 Subject: [PATCH] go.tools/go/types: add test case for resolution of blank methods (was bug on go/types wishlist; probably fixed a while ago) R=adonovan CC=golang-dev https://golang.org/cl/13633047 --- go/types/resolver_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go/types/resolver_test.go b/go/types/resolver_test.go index e845114fec..d53244ac90 100644 --- a/go/types/resolver_test.go +++ b/go/types/resolver_test.go @@ -53,6 +53,12 @@ var sources = []string{ } } `, + ` + package p + type S struct{} + func (T) _() {} + func (T) _() {} + `, } var pkgnames = []string{