Unreviewed changes
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/go/types/stmt.go
Insertions: 1, Deletions: 0.
The diff is too large to show. Please review the diff.
```
```
The name of the file: src/cmd/compile/internal/types2/stmt.go
Insertions: 1, Deletions: 0.
The diff is too large to show. Please review the diff.
```
Change information
Commit message:
go/types, types2: reorder channel sends to extract value target type
For channel sends, we currently check the sent value before inspecting
the channel element type. If we check the channel element type first,
we can extract a target type for the value. This change reorders
processing to do so.
This is a necessary prerequisite for composite literal type inference.
For #12854
Change-Id: I19b1ef73a2f82b3c45cd3f4a3f0dc32cd795e7ac
Files:
- M src/cmd/compile/internal/types2/stmt.go
- M src/go/types/stmt.go
Change size: S
Delta: 2 files changed, 22 insertions(+), 12 deletions(-)
Branch: refs/heads/master