Method-set caching is now performed externally using a MethodSetCache (if desired), not by the Types themselves. This a minor deoptimization due to the extra maps, but avoids a situation in which method-sets are computed and frozen prematurely. (See b/7114) LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/61430045 |
||
|---|---|---|
| .. | ||
| testdata | ||
| switch.go | ||
| switch_test.go | ||
| visit.go | ||