1
0
mirror of https://github.com/golang/go synced 2024-10-02 16:28:34 -06:00
go/ssa/interp/testdata
Robert Griesemer cc52b8b7f8 go.tools/go/types: clean up assignment checks (round 1)
Various bug fixes:
- don't allow := to redeclare non-variables
- don't permit a comma-ok expression as a two-value function return

Lots of dead code removed.

Fixes golang/go#5500.

R=adonovan
CC=golang-dev
https://golang.org/cl/10792044
2013-07-08 09:40:30 -07:00
..
boundmeth.go go.tools/ssa: emit ChangeType when using method as function in f := T.meth. 2013-06-26 13:18:31 -04:00
coverage.go go.tools/ssa: fix crash on 'select { case x, ok = <-ch: }' (= not :=). 2013-07-03 15:10:49 -04:00
fieldprom.go go.tools/ssa: use go/types.LookupFieldOrMethod, and simplify. 2013-07-01 15:17:36 -04:00
ifaceprom.go go.tools/ssa: fix bug in makeBridgeMethod for promoted interfaces. 2013-05-31 16:36:03 -04:00
mrvchain.go go.tools/go/types: clean up assignment checks (round 1) 2013-07-08 09:40:30 -07:00