]> Cypherpunks repositories - gostls13.git/commit
go/types: better error message for certain unary/binary expression errors
authorRobert Griesemer <gri@golang.org>
Tue, 23 Jun 2015 20:59:18 +0000 (13:59 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 23 Jun 2015 21:05:46 +0000 (21:05 +0000)
commit4ba1f258881b7cd82e22be3bff25b84fe6f21219
tree8a9e8161a321026d0c7afacd0bf56f392ca4657f
parenta8ae93fd26063c62645d9d75b78ebf0f7dc8f391
go/types: better error message for certain unary/binary expression errors

Port of https://go-review.googlesource.com/11363.

Fixes #11367.

Change-Id: Ie0a82bcfab782c514d1947e7a6b190e286afd159
Reviewed-on: https://go-review.googlesource.com/11367
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/expr.go
src/go/types/stmt.go
src/go/types/testdata/expr0.src