diff options
author | Robert Griesemer <gri@golang.org> | 2018-10-18 15:19:15 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2018-10-19 18:55:14 +0000 |
commit | f5636523998594af75ec87d3c2a2070dc1cb65f4 (patch) | |
tree | 191a14a756a15e1cff59d2d719e62f511ea00706 /src/go/types/check_test.go | |
parent | 0287d8ed1b12229f2ab493602ffa497caabf747c (diff) | |
download | go-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.go | 1 |
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() |