1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:28:33 -06:00
go/ssa/interp/testdata
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
..
boundmeth.go go.tools/ssa: (another) major refactoring of method-set logic. 2013-07-26 11:22:34 -04:00
coverage.go go.tools/ssa: avoid redundant uint64 conversion of right operand of <<, >>. 2013-07-08 17:33:51 -04:00
fieldprom.go go.tools/ssa: use go/types.LookupFieldOrMethod, and simplify. 2013-07-01 15:17:36 -04:00
ifaceconv.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
ifaceprom.go go.tools/ssa: (another) major refactoring of method-set logic. 2013-07-26 11:22:34 -04:00
methprom.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
mrvchain.go go.tools/go/types: clean up assignment checks (round 1) 2013-07-08 09:40:30 -07:00