- LookupFieldOrMethod now computes if any indirection was found on the way to an embedded field/method: this is the only information required to determine if a result method is in the method set. - Scopes now provide a link to the ast.Node responsible for them. Also: - don't permit unsafe.Offsetof on method values - report ambiguities in field/method lookup errors - added some missing checks for anonymous fields - lots of new tests Fixes golang/go#5499. R=adonovan CC=golang-dev https://golang.org/cl/10411045 |
||
---|---|---|
.. | ||
exact | ||
types |