Descriptiongo.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
Patch Set 1 #Patch Set 2 : diff -r 35cadadd0c32 https://code.google.com/p/go.tools #Patch Set 3 : diff -r 35cadadd0c32 https://code.google.com/p/go.tools #
MessagesTotal messages: 3
|
|||||||||||||||||||||||||||||||||||||