]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: allow conversion from slice to array ptr
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 14 Mar 2021 21:27:28 +0000 (14:27 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 21 Apr 2021 00:54:01 +0000 (00:54 +0000)
commitc18744377afa1f9c2310c122e6932fa663f9294a
tree98ff06cbf6e0e28ab60df13fba8be1ba79d5e31d
parentfaa4fa1a6e94fce4f6fa22524a2bece5125213b6
go/types: allow conversion from slice to array ptr

These match the changes to cmd/compile/internal/types2 in CL 301650.

Updates #395

Change-Id: I1e85b6355c8c8fdba0996c26a2505c65fab908d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/301651
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/api_test.go
src/go/types/conversions.go
src/go/types/stdlib_test.go