1
0
mirror of https://github.com/golang/go synced 2024-10-01 13:18:33 -06:00
go/ssa/interp
Alan Donovan ae8016313d go.tools/ssa: tests of method promotion and of interface conversion + bugfixes.
methprom.go covers method promotion.
Found bug: receiver() requires a following load under some
circumstances.

ifaceconv.go covers interface conversion.
Found bug: confusion about infallible and fallible conversions
led to use of TypeAssert in emitConv, which should never fail.
Changed semantics of ChangeInterface to make it infallible
and made some simplifications.

Also in this CL:
- SelectState.Pos now records the position of the
  the '<-' operator for sends/receives done by a Select.

R=gri
CC=golang-dev
https://golang.org/cl/11931044
2013-07-26 21:49:27 -04:00
..
testdata go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
external_plan9.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external_unix.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external_windows.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external.go go.tools/ssa: several small clean-ups. 2013-07-16 12:23:55 -04:00
interp_test.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
interp.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
map.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
ops.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
reflect.go go.tools/go/types: simplified and faster Scope 2013-07-23 21:21:37 -07:00
value.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00