1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:38:32 -06:00
go/ssa
Alan Donovan 86b0a65b65 go.tools/ssa: emit ChangeType when using method as function in f := T.meth.
Previously: typeOf(f).Signature.Recv == T
       Now: typeOf(f).Signature.Params.At(0) == T

Added test.

BUG=5781

R=gri
CC=golang-dev
https://golang.org/cl/10622043
2013-06-26 13:18:31 -04:00
..
interp go.tools/ssa: emit ChangeType when using method as function in f := T.meth. 2013-06-26 13:18:31 -04:00
blockopt.go go.tools: add missing files ssa/*.go 2013-05-17 13:25:48 -07:00
builder.go go.tools/ssa: emit ChangeType when using method as function in f := T.meth. 2013-06-26 13:18:31 -04:00
create.go go.tools/ssa: Select now returns received values by tuple, not interface. 2013-06-24 14:15:13 -04:00
doc.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
dom.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
emit.go go.tools/ssa: emit ChangeType when using method as function in f := T.meth. 2013-06-26 13:18:31 -04:00
example_test.go go.tools/ssa: small changes accumulated during gri's vacation. :) 2013-06-13 14:43:35 -04:00
func.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
lift.go go.tools/ssa: small changes accumulated during gri's vacation. :) 2013-06-13 14:43:35 -04:00
literal.go go.tools/ssa: Select now returns received values by tuple, not interface. 2013-06-24 14:15:13 -04:00
lvalue.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
print.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
promote.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
sanity.go go.tools/ssa: Select now returns received values by tuple, not interface. 2013-06-24 14:15:13 -04:00
source_ast.go go.tools/ssa: small changes accumulated during gri's vacation. :) 2013-06-13 14:43:35 -04:00
source_test.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
source.go go.tools/ssa: Select now returns received values by tuple, not interface. 2013-06-24 14:15:13 -04:00
ssa.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
ssadump.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
util.go go.tools/ssa: memoize synthesis of all wrapper methods. 2013-06-14 15:50:37 -04:00