aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/check_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2018-10-18 15:19:15 -0700
committerRobert Griesemer <gri@golang.org>2018-10-19 18:55:14 +0000
commitf5636523998594af75ec87d3c2a2070dc1cb65f4 (patch)
tree191a14a756a15e1cff59d2d719e62f511ea00706 /src/go/types/check_test.go
parent0287d8ed1b12229f2ab493602ffa497caabf747c (diff)
downloadgo-f5636523998594af75ec87d3c2a2070dc1cb65f4.tar.gz
go-f5636523998594af75ec87d3c2a2070dc1cb65f4.zip
go/types: accept recv base type that is alias to a pointer type
Per the spec clarification https://golang.org/cl/142757 (issue #27995). Fixes #28251. Updates #27995. Change-Id: Idc142829955f9306a8698c5ed1c24baa8ee2b109 Reviewed-on: https://go-review.googlesource.com/c/143179 Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/go/types/check_test.go')
-rw-r--r--src/go/types/check_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/go/types/check_test.go b/src/go/types/check_test.go
index e8ba1a037c..45e1fcb605 100644
--- a/src/go/types/check_test.go
+++ b/src/go/types/check_test.go
@@ -94,6 +94,7 @@ var tests = [][]string{
{"testdata/issue26390.src"}, // stand-alone test to ensure case is triggered
{"testdata/issue23203a.src"},
{"testdata/issue23203b.src"},
+ {"testdata/issue28251.src"},
}
var fset = token.NewFileSet()