]> Cypherpunks repositories - gostls13.git/commit
go/types: untyped shifted constants must fit their expected int type
authorRobert Griesemer <gri@golang.org>
Wed, 24 Oct 2018 17:23:43 +0000 (10:23 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 24 Oct 2018 20:49:59 +0000 (20:49 +0000)
commit9f7b1a8259fb5be07e41b5f74445f16a6a23e963
treeddad6311dd1cdc1dbd1243928bd4479812e76389
parent6761b1eb1b9fdbe5e2b865d683167dd5af3e5c0b
go/types: untyped shifted constants must fit their expected int type

Fixes #22969.

Change-Id: Ie9d1748c36864a81a633f0016594912ac7dfc005
Reviewed-on: https://go-review.googlesource.com/c/144385
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/expr.go
src/go/types/testdata/shifts.src