]> Cypherpunks repositories - gostls13.git/commit
go/types: differently named types are not assignable
authorRobert Findley <rfindley@google.com>
Tue, 2 Nov 2021 15:46:25 +0000 (11:46 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 2 Nov 2021 21:19:29 +0000 (21:19 +0000)
commit42e6b5bce2d027d4fcc4a7358b97a468494855d8
tree88bbbfed971c0db53c8c77a3545578fdbf6ce04c
parentea403bc237657e160e628e2670bbbb62016bf2b2
go/types: differently named types are not assignable

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

Change-Id: Idfa584fab95f7226e10b1a7c5b06d56a0bf9d757
Reviewed-on: https://go-review.googlesource.com/c/go/+/360759
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/operand.go
src/go/types/testdata/fixedbugs/issue49242.go2 [new file with mode: 0644]
src/go/types/testdata/spec/assignability.go2