]> Cypherpunks repositories - gostls13.git/commit
go/types: add test for interface method field type
authorRob Findley <rfindley@google.com>
Tue, 24 Jun 2025 00:38:37 +0000 (00:38 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 24 Jun 2025 17:35:30 +0000 (10:35 -0700)
commit34cf5f6205c97eccca4fee5a33deca9d6b05e7b3
tree8f31d460b3f5e8fefebcd0118968392c836af6b0
parent6e618cd42a1adb58fa04f7a9f6e89a563ccb07f1
go/types: add test for interface method field type

Add a test that would have detected the regression in #74303: interface
method fields should have a recorded type.

For #74303

Change-Id: Ide5df51cd71c38809c364bb4f95950163ecefb66
Reviewed-on: https://go-review.googlesource.com/c/go/+/683595
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/api_test.go
src/go/types/api_test.go