]> Cypherpunks repositories - gostls13.git/commit
go/types: check that typed constant shift expressions are representable
authorMatthew Dempsky <mdempsky@google.com>
Thu, 15 Oct 2015 16:50:40 +0000 (09:50 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 19 Oct 2015 17:34:51 +0000 (17:34 +0000)
commite538e1b627d16778134704310f39a1fec997184d
tree5a04ab8e8b6d3e160bea975b57e55eebcbe3bceb
parente920f7d5c5becbc013908dd6b16fc3d7d1d996c4
go/types: check that typed constant shift expressions are representable

Fixes #12945.

Change-Id: I08b44795fcd7ec59371aea8111f7febead54720b
Reviewed-on: https://go-review.googlesource.com/15900
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/expr.go
src/go/types/testdata/const1.src