- moved single field and method lookup functionality from operand.go to new file lookup.go and cleaned up the lookup implementation - implemented method set computation using the same basic structure as for field/method lookup, in new file methodset.go - minor related changes - the method set computation ignores pointer-ness of the receiver type at the moment (next CL) - fixed a couple of bugs (missing pkg info for imported embedded types, wrong test for method expressions) The method set computation is currently verified by comparing a regular method lookup with a method-set based method lookup. R=adonovan CC=golang-dev https://golang.org/cl/10235049 |
||
|---|---|---|
| .. | ||
| exact | ||
| types | ||