]> Cypherpunks repositories - gostls13.git/commit
go/types: report argument type for unsafe.OffsetOf
authorRobert Griesemer <gri@golang.org>
Sun, 22 Aug 2021 22:21:29 +0000 (15:21 -0700)
committerRobert Griesemer <gri@golang.org>
Sun, 22 Aug 2021 22:30:38 +0000 (22:30 +0000)
commit29d7e5472be79b77f39d81b697d44038179ba1a1
treee8fae2612a1cd10fb81c2bf77b59716b20e64a4c
parent8fcc614360cac2c23aafeb2fdc637c72ff1d7dfd
go/types: report argument type for unsafe.OffsetOf

This is a clean port of CL 344252 to go/types.

For #47895.

Change-Id: I48cbb97ec28fcfb4fdf483594be9d29426c117ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/344254
Trust: Robert Griesemer <gri@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/go/types/api_test.go
src/go/types/builtins.go